Divider
A line between sections or items, with an optional label or button on it.
pixikit.com/docs/components/divider
Customize
Align
Orientation
Variant
Spacing16px
Props
6| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | None | A label, icon or button shown on the line. |
align | "start" | "center" | "end" | "center" | Where the children sit along the line. |
orientation | "horizontal" | "vertical" | "horizontal" | `horizontal` runs across, `vertical` stands between neighbours. |
variant | "solid" | "dashed" | "fade" | "solid" | `fade` lets the line fade out at its ends. |
spacing | number | 16 | Space around the line, in px. |
className | string | None |