Separator
type SeparatorProps = ComponentProps<typeof Separator>;
Noir Tribe Docs
An UI component library.
Blog
Docs
Source
Prop | Type | Default Value | Description |
---|---|---|---|
className | string | undefined | The CSS class name for styling the button. |
orientation | 'horizontal' | 'vertical' | 'horizontal' | The orientation of the separator. Can be 'horizontal' or 'vertical'. |
decorative | boolean | true | Specifies whether the separator is purely decorative for accessibility purposes. |