Launch sale — 60% off Pro
Contact
SeparatorSpacing

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Separator - Default Spacing

Separator with default spacing using space-y-4 for balanced layouts providing comfortable breathing room between sections built with shadcn/ui

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Default spacing exists for a reason—it just works for most cases. This React Separator uses space-y-4 (16px) for comfortable vertical spacing that balances visual separation with space efficiency. Built with shadcn/ui and Radix UI, default spacing provides clear section boundaries without feeling cramped or wasteful. Perfect for general content sections, forms, settings pages, or any layout where you want solid visual structure without overthinking spacing decisions.

Section 1

Section 2

Pattern created by @haydenbleasel

Installation

Questions you might have