GitHub

divider

Horizontal rule for visual separation. With a label, the line splits either side of the text — the classic "or" pattern between login options.


divider()
divider({ label: 'or continue with' })
PropTypeDefault
labelstringOptional centred text — renders as <div> with role="separator" when provided, <hr> otherwise