Skip to content

Kirby 3.5.7.1

List

<k-list>

Items Option

<k-list
  :items="[
    {...},
    {...},
    {...},
  ]"
/>

Check out the ListItem component documentation for all available options for each item.

Default Slot

If you need more control over each item, you can inject items manually

<k-list>
  <k-list-item key="item-a" v-bind="{}" />
  <k-list-item key="item-b" v-bind="{}" />
  <k-list-item key="item-c" v-bind="{}" />
  <k-list-item key="item-d" v-bind="{}" />
</k-list>

CSS class

.k-list