Shadcn.io is not affiliated with official shadcn/ui
With Text Center
Centered text between two flex-1 React separators for OR dividers in authentication forms built with shadcn/ui
Split two equal choices with a labeled rule. This React pattern places OR between two flex-1 Separators so the lines stay symmetric as the form width changes. Built with shadcn/ui and Radix UI. Perfect for social-login dividers, payment-method choices, and any pair of equivalent options.
With Text Center preview
Scroll to load preview
Installation
Related Components
Separator with Text Left
Left-aligned text with right separator
Separator with Text Right
Right-aligned text with left separator
Horizontal Separator
Simple horizontal separator
Default Spacing Separator
Separator with standard spacing
Button
Standard button component
Section Divider
Titled section breaks
FAQ
Was this page helpful?
Sign in to leave feedback.