Foundation
Separator
Horizontal or vertical rule. Solid by default; dashed for a quieter divider inside cards.
Examples
Horizontal
above
below
quieter
below
quieter
<Card>
above
<Separator />
below
<Separator dashed />
quieter
</Card>Vertical
left right
<div style="display:flex; align-items:center; height:24px;">
left <Separator orientation="vertical" /> right
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | 'horizontal' | 'vertical' | 'horizontal' | Horizontal renders <hr>; vertical renders a 1px column. |
dashed | boolean | false | Swap the solid line for a 1px dashed border. |
class | string | — | Extra classes; merged via cn(). |
Install
CLI
npx @a3tai/mittsu add separator