Make your AI a shadcn expert

Inset Separator

Inset React separator with horizontal margins and a width override so the line stays inside the parent instead of overflowing

Soften a full-bleed rule. This React Separator uses mx-8 plus data-[orientation=horizontal]:w-auto so the default w-full does not add to the margins and overflow the card. Built with shadcn/ui and Radix UI. Perfect for list rows, nested card sections, and any break that should align with padded content.

Inset Separator preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.