@agala-labs/ui
Divider
Separates related regions horizontally or vertically.
Examples
Default
Primary content
Or continue with
Alternative content<AgalaDivider label="Or continue with" />Import
import { AgalaDivider } from '@agala-labs/ui'API
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | 'horizontal' | 'vertical' | 'horizontal' | Divider direction. |
label | string | — | Optional visible label. |
labelPosition | 'start' | 'center' | 'end' | 'center' | Label alignment. |
class | string | — | Consumer override class. |
Accessibility
Uses separator semantics; labels should describe the following section, not decoration.