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
Attribute Type Documentation Default Value

In order to use playground, you must define your component attributes.