Skip to main content

Separator

Divide content with visual separators, built on Base UI.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
orientationhorizontal | verticalhorizontal
iconReactNode-
onIconClick() => void-Called when the icon button is pressed.
Called when the icon button is pressed.
iconLabelstring-The icon button's accessible name, such as "Add a section".
The icon button's accessible name, such as "Add a section".
labelReactNode-
iconShapenone | rounded | circlerounded
classNamestring-
focusboolean | stringtrue