Launch sale — 60% off Pro
Contact
SeparatorStyled

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

React Gradient Separator

A gradient fade separator using bg-gradient-to-r from transparent via border to transparent for elegant soft-edge divisions

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Fades feel sophisticated—gradient separators disappear at edges. This custom div uses h-px w-full bg-gradient-to-r from-transparent via-border to-transparent creating horizontal fade effect. Built with Tailwind gradient utilities, gradient separators provide elegant separation—perfect for premium designs, soft transitions, elegant sections, marketing pages, or any layout where hard edges feel too harsh and fade-out effect adds refinement.

Above

Below

Pattern created by @haydenbleasel

Installation

Questions you might have