List

Renders a data list.

Read more Read less

Examples

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

Slots

  • item (required) - Accepts attributes:
  • title (:string) (required)
Title
Elixir
Rating
5/5
<.list>
  <:item title="Title">Elixir</:item>
  <:item title="Rating">5/5</:item>
</.list>