Separator
A horizontal or vertical rule that divides content.
- Layout
- 1 file
- 1 npm package
- Accessibility notes
Loading the example…
pnpm dlx @dowel-ui/cli add separatornpm packages installed: radix-ui.
import { Separator } from "@/components/ui/separator";Horizontal
Semantic
<Separator>
Every prop of Radix UI’s Separator.Root, plus className.
Decorative by default and hidden from assistive technology. Set decorative={false} to expose it as a semantic separator when it divides meaningfully distinct groups.
7/7
checks passed
- Tested — passes
- axe assertion — passes
- Keyboard tested — does not apply
- Storybook examples — passes
- Accessibility documented — passes
- Semantic tokens only — passes
- Motion from tokens — does not apply
- className merged — passes
- Visible focus — does not apply
- No fixed widths — passes