List

  • Inbox
    12 unread messages
  • Drafts
    3 drafts
  • Sent
    Last sent 2h ago
Attribute Type Documentation Default Value
id :any

HTML id attribute

class :any

additional CSS classes

bordered :boolean

add border and item separators

false
compact :boolean

compact spacing

false
dense :boolean

dense spacing (smaller than compact)

false
hoverable :boolean

show hover effects on items

false
two_line :boolean

two-line layout for title + subtitle

false
three_line :boolean

three-line layout for longer content

false
rest :global
Required item * :slot

List items

Show slot attributes Hide slot attributes
title :string

item primary text

subtitle :string

item secondary text

icon :string

Material Design icon name

active :boolean

highlight the item as active

disabled :boolean

disable the item

interactive :boolean

enable hover/focus effects

class :any

item CSS classes

<:item title="Inbox" icon="email">12 unread messages</:item>
<:item title="Drafts" icon="file-document-edit">3 drafts</:item>
<:item title="Sent" icon="send">Last sent 2h ago</:item>
subheader :slot

Optional section header