DaisyUIComponents.List (DaisyUIComponents v0.7.6)

View Source

This component was extracted from the original Phoenix CoreComponents.

Summary

Functions

Renders a data list.

Functions

list(assigns)

Renders a data list.

Examples

<.list>
  <:item title="Title"><%= @post.title %></:item>
  <:item title="Views"><%= @post.views %></:item>
</.list>

Slots

  • item (required) - Accepts attributes:
    • title (:string) (required)