vael-ui v0.3.10

Layout & Structure

Separator

A thin line (or gap) for dividing content into visually distinct groups.

Install

import { Separator } from 'vael-ui'

Playground

LeftRight
import { Separator } from 'vael-ui'

<Separator orientation="horizontal">Separator</Separator>

Props

NameTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"
uiPartial<{ root: UiPartValue; line: UiPartValue; text: UiPartValue; }> | undefined

Slots

NameTypeDescription
defaultanyOptional label centered in the line, e.g. "OR". Plain divider without it.

Events

No events.

Exposed

NameTypeDescription
elHTMLElement | null