Components
← All components

Separator

stimeo--separator

Gives a divider real meaning, and can make it a focusable one that carries a value.

  • Core

Turns a plain line into a divider with meaning, including whether it runs across or down, so a screen reader can convey the structure. Give it a value and it becomes a focusable divider: the arrow keys adjust it, Home and End jump to the ends, and the value is announced as it changes. Actually resizing the areas either side is not done here, so reach for the resizable part when you need that.

running

The thin line below is a decorative separator (role="separator" semantics only — nothing to operate).

Below is a vertical, focusable, value-bearing separator: Tab to it and use ← / → to change the left/right split (for mouse-drag resizing, use the Resizable component instead).

Sidebar
Content

Here is a horizontal value-bearing separator: Tab to it and use ↑ / ↓ to change the top/bottom split.

Header
Body

Keyboard

KeyAction
→ / ↑ Increase the value (ArrowRight when vertical, ArrowUp when horizontal). Focusable variant.
← / ↓ Decrease the value (ArrowLeft when vertical, ArrowDown when horizontal). Focusable variant.
Home / End Jump to the minimum / maximum. Focusable variant.