DaisyUIComponents.Sidebar (DaisyUIComponents v0.8.6)
View SourceSidebar component
Summary
Functions
Sidebar is a LiveComponent, it handles expanded and open states
Functions
Sidebar is a LiveComponent, it handles expanded and open states
Attributes
id
(:string
) (required) - identifier to toggle the sidebar.class
(:any
) - Defaults tonil
.open
(:boolean
) - Forces the sidebar to be open. Defaults tonil
.expanded
(:boolean
) - Sidebar expand width. Defaults tofalse
.- Global attributes are accepted.
Slots
content
(required) - Accepts attributes:class
(:any
)
item
- Accepts attributes:path
(:string
)method
(:any
)active
(:boolean
)icon
(:string
)
Attributes
path
(:string
) - Defaults tonil
.method
(:any
) - Defaults tonil
.active
(:boolean
) - Defaults tofalse
.expanded
(:boolean
) - Defaults tofalse
.icon
(:string
)
Slots
inner_block
(required)