Skip to content
PixiKit

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
NameTypeDefaultDescription
childrenReactNodeNoneA 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.
spacingnumber16Space around the line, in px.
classNamestringNone

More interaction components in Pro

View all

Related