Separator
Hairline horizontal or vertical divider.
coatx
shadcn/ui tokens and recipes ported to StyleX.
DocsComponentsSink
Usage
import { separator } from "coatx/separator";
export const Divider = () => <div role="separator" {...separator()} />;
Exports (coatx/separator)
| Export | Description |
|---|---|
separator(options?) |
Divider line recipe |
separatorStyles |
Compiled StyleX style map |
Options
| Option | Type | Default |
|---|---|---|
orientation |
"horizontal", "vertical" |
"horizontal" |