DaisyUIComponents.List (DaisyUIComponents v0.8.1)
View SourceList component
Summary
Functions
Renders a List
Attributes
class
(:any
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
Functions
Renders a List
Examples
<.list>
<:header>Posts</:header>
<:item title="Title">{@post.title}</:item>
<:item title="Views">{@post.views}</:item>
</.list>
Attributes
class
(:any
) - Defaults tonil
.- Global attributes are accepted.
Slots
item
- Accepts attributes:title
(:string
)
header
inner_block
Attributes
class
(:any
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block