Separator
Base UIA quiet divider that gives related content room to breathe.
ReadyResponsive
Usage
Package exportimport { Separator } from "@jnpll/elements-ui/separator";
<div className="w-full max-w-sm">
<p>{"Details"}</p>
<Separator className="my-4" />
<p className="text-sm text-muted-foreground">A related section</p>
</div>Examples
Vertical orientation
DetailsSettings
API Reference
| Prop | Type / description | Default |
|---|---|---|
orientation | "horizontal" | "vertical"Direction of the divider. | "horizontal" |
className | stringControls color, spacing, and dimensions. | - |
Composition & accessibility
A vertical separator needs a parent with a defined height. Use the orientation prop to establish the divider's direction.