Shaban

Auth Divider

Sign-in 8

About

A horizontal divider with centered label text, typically used to separate social login buttons from an email form on authentication screens.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Auth Divider to your project and fits it to your theme.

Code

How Auth Divider is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { AuthDivider } from "@/components/ui/auth-divider";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";

export default function Default() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-background p-6">
      <div className="w-full max-w-sm space-y-6 rounded-xl border bg-card p-6 text-card-foreground shadow-sm">
        <div className="space-y-1 text-center">
          <h2 className="font-semibold text-xl tracking-tight">Welcome back</h2>
          <p className="text-muted-foreground text-sm">
            Sign in to continue to your account
          </p>
        </div>

        <div className="space-y-3">
          <Button variant="outline" className="w-full">
            Continue with Google
          </Button>
          <Button variant="outline" className="w-full">
            Continue with GitHub
          </Button>
        </div>

        <AuthDivider>OR CONTINUE WITH EMAIL</AuthDivider>

        <div className="space-y-3">
          <Input type="email" placeholder="name@example.com" />
          <Input type="password" placeholder="Password" />
          <Button className="w-full">Sign in</Button>
        </div>
      </div>
    </div>
  );
}

More by Shaban

View all
  • Testimonials Columns

    Testimonials Columns

    7.1K
  • Zoom Parallax

    Zoom Parallax

    5.4K
  • Dotted Surface

    Dotted Surface

    3.6K
  • Footer Section

    Footer Section

    2.7K
  • Grid Feature Cards

    Grid Feature Cards

    1.9K
  • Logo Cloud 2

    Logo Cloud 2

    1.8K
  • Header 3

    Header 3

    1.7K
  • Logo Cloud 3

    Logo Cloud 3

    1.5K

More in Sign-in

View all
  • Pro Sign-in Animation

    Pro Sign-in Animation

    79
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.8K
  • Clean & Minimal sign in

    Clean & Minimal sign in

    690
  • Sign In

    Sign In

    112
  • SignInPage

    SignInPage

    789
  • Sign In Form

    Sign In Form

    219
  • Sign In Auth Card

    Sign In Auth Card

    14
  • X Modern & Stunning sign in

    X Modern & Stunning sign in

    28