Divider
A 1px rule between sections.
Staticimport { Divider } from 'umbra-ui'
DocsAPIChangelog
Variants and states
Horizontal
UsageBilling
Props
| Prop | Type | Default | Description |
|---|---|---|---|
decorative | boolean | true | When `true` the divider is purely visual and hidden from assistive tech. |
orientation | "vertical" | "horizontal" | horizontal | Line direction. |
Usage notes
Decorative by default.
Accessibility
- Pass
decorative={false}when the divider separates content semantically: it then hasrole="separator".
Import
import { Divider } from 'umbra-ui';
import 'umbra-ui/styles.css'; // once, at the root of your app