All components
Separator
Horizontal and vertical rules in solid, dashed, and dotted weights.
Variants
solid
dashed
dotted
Sizes
xs
sm
md
Install
zsh — separator
1bunx stylexblocks add separatorUsage — Ark UI
separator.tsx
123456789import { Separator } from "#components/ui/ark-ui/separator.tsx";
export function Example() { return ( {/* variant, orientation, and size resolve through the StyleX recipe and surface as data-* attributes */} <Separator role="separator" variant="solid" orientation="horizontal" size="sm" /> );}