View Source ZoonkWeb.Components.List (Zoonk v0.1.0-alpha)

List components.

Link to this section Summary

Functions

Renders a data list.

Link to this section Functions

Renders a data list.

examples

Examples

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

slots

Slots

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