auth-1
freddy/auth-1FreeBlock
Modern auth page with particle background and social login buttons.
Install it
npx shadcn@latest add https://ui.arkcabin.com/r/auth-1.jsonSource
1import type React from "react";2import { LogoIcon } from "@/components/logo";3import { Button } from "@/components/ui/button";4// https://magicui.design/docs/components/particles5import { Particles } from "@/components/ui/particles";67export function AuthPage() {8 return (9 <div className="relative w-full md:h-screen md:overflow-hidden">10 <Particles11 className="absolute inset-0"12 color="#666666"13 ease={20}14 quantity={120}15 />1617 {/* Centered auth card */}18 <div className="relative flex min-h-screen items-center justify-center px-4 py-20">19 <div className="w-full max-w-sm rounded-2xl border border-border/50 bg-background/60 p-8 shadow-2xl shadow-black/10 backdrop-blur-xl">20 {/* Logo + heading */}21 <div className="mb-8 space-y-3">22 <LogoIcon className="size-8" />23 <div>24 <h1 className="font-bold text-2xl text-foreground tracking-tight">25 Welcome back26 </h1>27 <p className="mt-1 text-muted-foreground text-sm">28 Sign in to your account or create a new one.29 </p>30 </div>31 </div>3233 {/* OAuth buttons */}34 <div className="space-y-3">35 <Button36 className="w-full gap-2.5 transition-all hover:shadow-md"37 size="lg"38 type="button"39 variant="outline"40 >41 <GoogleIcon className="size-4 shrink-0" />42 <span>Continue with Google</span>43 </Button>44 <Button45 className="w-full gap-2.5 transition-all hover:shadow-md"46 size="lg"47 type="button"48 variant="outline"49 >50 <GithubIcon className="size-4 shrink-0" />51 <span>Continue with GitHub</span>52 </Button>53 </div>5455 {/* Divider */}56 <div className="my-6 flex items-center gap-3">57 <div className="h-px flex-1 bg-border" />58 <span className="font-medium text-[11px] text-muted-foreground/60 uppercase tracking-wider">59 or60 </span>61 <div className="h-px flex-1 bg-border" />62 </div>6364 {/* Email CTA */}65 <Button className="w-full" size="lg" type="button">66 Continue with Email67 </Button>6869 {/* Terms */}70// … truncated
What it pulls in
Other registry items
Files it writes
More from freddy
All 60 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| announcement-1announcement-1 | freddy | Blocks | Free | 1 dep | |
| announcement-2announcement-2 | freddy | Blocks | Free | 1 dep | |
| announcement-3announcement-3 | freddy | Blocks | Free | 1 dep | |
| auth-10auth-10 | freddy | Blocks | Free | no deps | |
| auth-11auth-11 | freddy | Blocks | Free | no deps | |
| auth-12auth-12 | freddy | Blocks | Free | no deps | |
| auth-2auth-2 | freddy | Blocks | Free | 1 dep · 3 files | |
| auth-3auth-3 | freddy | Blocks | Free | no deps · 2 files |
