Make your AI a shadcn expert

Horizontal Separator

A horizontal React separator that divides stacked content with the default shadcn/ui line, Tailwind gap spacing, and Radix orientation for Next.js layouts

Divide stacked content with a single horizontal line. This React Separator uses the default orientation from shadcn/ui and Radix UI, with flex column gap spacing instead of margin collapse. Perfect for article sections, settings groups, card bodies, and any vertical layout that needs a clear break without extra borders.

Horizontal Separator preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.