DaisyUIComponents.List (DaisyUIComponents v0.8.5)

View Source

List component

https://daisyui.com/components/list/

Summary

Functions

list(assigns)

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 to nil.
  • Global attributes are accepted.

Slots

  • item - Accepts attributes:
    • title (:string)
  • header
  • inner_block

list_row(assigns)

Attributes

  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block