Component
Separator
A rule between content, horizontal or vertical.
import { Separator } from '@loidolt/theme-svelte';
Example
Above
Below
Below
Left Right
Props
Generated from the component source, so it cannot drift from the implementation.
| Prop | Type | Default | Notes |
|---|---|---|---|
class | string | — | |
orientation | Orientation | 'horizontal' | |
ref bindable | HTMLElement | null | null |
Plus the attributes of HTMLAttributes<HTMLHRElement>andHTMLAttributes<HTMLDivElement>, forwarded to the root element.