Divider
NewlayoutHorizontal or vertical separator with optional centered label for section breaks.
import { Divider } from '@/components/forge'Preview
Divider
Account details
or continue with
Team workspace
Code Example
Props
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
orientation | 'horizontal' | 'vertical' | 'horizontal' | No | Separator direction |
label | string | - | No | Optional label for horizontal dividers |
Variants
horizontalverticallabeled
Accessibility
- Uses role="separator"
- Sets aria-orientation when rendered as a separator