Separator
Introduction
A divider that separates two different sets of content.

- Label
- Left line
- Right line
Examples
Default
A solid Separator without a label.
With label
A dashed Separator with label center-aligned.
Colors
Line styles
Design Reference
N/A
API
Separator
Separator
import { Separator } from '@ahaui/react'Copy import code for the Separator component| Name | Type | Default | Description |
|---|---|---|---|
| label | string | Custom label | |
| variant | 'light' | 'lighter' | 'primary' | 'positive' | 'negative' | 'gray' | 'light' | The |
| lineType | 'solid' | 'dashed' | 'solid' |