Skip to content
nexubDesign System
v12.7.0

Components · Dividers

Separator

StableAdded v0.0.1

A horizontal or vertical visual divider.

import { Separator } from '@nexub/react';
View as Markdown

Playground

Props

orientation
TSX
<Separator />

Examples

Default

Vertical

LeftRight

States

  • default
  • tone="neutral"
  • tone="info"
  • tone="success"
  • tone="warning"
  • tone="danger"
  • tone="leap"
  • tone="bookub"
  • tone="payub"

Props

Props
PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Direction of the separator line.
tone'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub''neutral'