StellarUI

<stellar-divider>

Rule-and-label divider that ports the shipped orientation, placement, and tone behavior.

Properties

Component
Example

Preview

OR

Markup

Copy
<stellar-divider>OR</stellar-divider>

API

Complete props, events, slots, and implementation notes for the shipped divider.

Props

PropTypeDefaultNotes
orientationvertical | horizontalvertical
placementcenter | start | endcenter
tone'' | neutral | primary | secondary | tertiary | errorneutral

Events

EventSourceNotes
custom eventsnonestellar-divider is purely structural and emits no events.

Slots

SlotNotes
defaultOptional center label or inline content shown between the divider rules.

Notes

  • The public tag is `stellar-divider`, a structural wrapper that renders divider lines around its default slot content.
  • The shipped API follows the shipped surface: orientation, start/end placement, and semantic tone coloring.
  • The component stays CSS-only and does not alter surrounding layout beyond its own margin and self-stretch behavior.
  • When the slot is empty, the divider collapses to a plain rule with no gap.
  • `horizontal` is the default HR-style case and stretches to the available inline width.
  • `vertical` rotates the layout into a top-to-bottom rule without inventing a second component.