@k8ordo/ui

Separator

区切りの線です。節の間や、横に並んだ要素の間に置きます。

インポート

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

使い方

tsx
<Separator color="mute" />

方向

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

色

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'

継承する属性(内部で固定するものを除く): HTMLAttributes<HTMLSpanElement>

k8ordo

Baselineに入った機能を、制限なく使うReactのライブラリ群。