Skip to content
Design System
GitHub

Separator

v0.5.0

Horizontal or vertical hairline.

Good
72 %
Firmware 2.4.1

Separator in toolbar

Install
npx shadcn add @syncrobotic/separator

Also installs: radix-ui, @syncrobotic/cn

Overview

A hairline between groups of content.

When to use

  • Between sections of a menu, a card or a toolbar.

Use something else

  • Rows of a list: Grouped list, which draws inset dividers itself.
  • Space alone, when the groups are already clear.

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

Hall B
6 robots
Floor 2

Separator vertical

Yesterday

Separator with label

Usage rules

  • Splits groups the eye would otherwise run together. If spacing already separates them, leave it out.
  • Decorative by default; mark it as a separator only between groups of a menu or toolbar.

Changelog

  • 0.5.02026-11-17First versioned release. Earlier history is in CHANGELOG.md.

How to upgrade