Elements Separator
Back to Elements

Separator

0 components

UI elements you can copy into your project.

API reference

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

Separator.Root

Visual content separator.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string
data-slot as dataSlot string "separator"
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.