Import
Copy code
import { Separator } from '@k8ordo/ui';Usage
Copy code
<Separator color="mute" />Orientation
Copy code
<Separator orientation="horizontal" />
<Separator orientation="vertical" />Colors
Copy code
<Separator color="base" />
<Separator color="mute" />
<Separator color="subtle" />Props
color?- Type:
'base'|'mute'|'subtle' - Default:
'base' orientation?- Type:
'horizontal'|'vertical' - Default:
'horizontal'
| Prop | Type | Default |
|---|---|---|
color? | 'base'|'mute'|'subtle' | 'base' |
orientation? | 'horizontal'|'vertical' | 'horizontal' |
Inherited attributes (except the ones set internally): HTMLAttributes<HTMLSpanElement>