Elements List
Back to Elements

List

0 components

UI elements you can copy into your project.

API reference

Generated from each primitive's $props() declaration.

list

List container.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string
variant "default" | "divided" | "bordered" "default"
size "sm" | "default" | "lg" "default"
as string "ul"
children Snippet
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.

list-item

List container.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string
variant "default" | "padded" | "interactive" "default"
children Snippet
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.