List

  • Dense item one
  • Dense item two
  • Dense item three
  • Dense item four
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>Dense item one</:item>
<:item>Dense item two</:item>
<:item>Dense item three</:item>
<:item>Dense item four</:item>
subheader :slot

Optional section header