Divider
Every example on this page is live, drawn by the library's Storybook, where you can also change its props and see the result.
A horizontal or vertical separator with optional label.
Import
import { Divider } from "~lib/layout/divider";
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
orientation | "horizontal" | "vertical" | No | "horizontal" | Direction of the divider |
label | string | No | N/A | Centered label text |
spacing | "none" | "sm" | "md" | "lg" | No | "md" | Margin around divider |