Meta List

Renders short facts about a record on one line, separated by dots.

Read more Read less
<.meta_list>
  <:item>Sales manager</:item>
  <:item>2 locations</:item>
</.meta_list>

Items wrap onto the next line when there is no room. The dots are drawn with CSS and hidden from assistive technology, which announces a plain list of items. Use :if on an item to leave it out:

<.meta_list size="base">
  <:item :if={@contact.role}>{@contact.role}</:item>
  <:item>{@location_summary}</:item>
</.meta_list>
  • New York
Attribute Type Documentation Default Value
class :any

Additional classes to add to the parent.

[]
size :string "sm"
rest :global
Required item * :slot
<:item>New York</:item>