Elements Divider
Back to Elements

Divider

0 components

UI elements you can copy into your project.

API reference

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

divider

Visual separator between content sections.

Prop Type Default Description
ref bind: HTMLElement | null null
class as className string —
orientation "horizontal" | "vertical" "horizontal"
variant "default" | "muted" | "primary" | "dashed" | "dotted" "default"
label — —
children Snippet —
...restProps Record<string, unknown> — Remaining attributes, spread onto the underlying element.