Skip to content
LoidoltTheme 0.11.1
Svelte 5

Component

Separator

A rule between content, horizontal or vertical.

import { Separator } from '@loidolt/theme-svelte';

Example

Above
Below
Left Right

Props

Generated from the component source, so it cannot drift from the implementation.

Separator props
PropTypeDefaultNotes
class string—
orientation Orientation'horizontal'
ref bindableHTMLElement | nullnull

Plus the attributes of HTMLAttributes<HTMLHRElement>andHTMLAttributes<HTMLDivElement>, forwarded to the root element.