@k8ordo/ui

Separator

A dividing rule. Put it between sections, or between items in a row.

Import

ts
import { Separator } from '@k8ordo/ui';

Usage

tsx
<Separator color="mute" />

Orientation

tsx
<Separator orientation="horizontal" />
<Separator orientation="vertical" />

Colors

tsx
<Separator color="base" />
<Separator color="mute" />
<Separator color="subtle" />

Props

color?
Type: 'base'|'mute'|'subtle'
Default: 'base'
orientation?
Type: 'horizontal'|'vertical'
Default: 'horizontal'
PropTypeDefault
color?'base'|'mute'|'subtle''base'
orientation?'horizontal'|'vertical''horizontal'

Inherited attributes (except the ones set internally): HTMLAttributes<HTMLSpanElement>

k8ordo

React libraries that use Baseline features without holding back.