Login-3
hex-ui/login-3FreeBlock
A login form with a customizable side background
Live preview
live · rendered by the registry
Rendered by hex-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://hexui.sh/r/login-3.jsonSource
1import Image from "next/image"2import { LoginForm } from "../../components/login-form"34export default function Page() {5 return (6 // Two-column split on lg: form (4 cols) + decorative background image (6 cols, hidden below lg).7 <div className="grid min-h-svh w-full lg:grid-cols-10">8 <div className="flex col-span-4 items-center justify-center">9 <div className="w-full max-w-xs">10 <LoginForm />11 </div>12 </div>13 <div className="relative hidden bg-muted lg:block col-span-6">14 <Image15 width={1500}16 height={1600}17 src="/demo/backgrounds/sky.png"18 alt="Background"19 // Darken and desaturate the photo in dark mode so it doesn't compete with the form.20 className="absolute inset-0 h-full w-full object-cover dark:brightness-[0.2] dark:grayscale"21 />22 </div>23 </div>24 )25}
What it pulls in
npm packages
Other registry items
Files it writes
More from hex-ui
All 34 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Banner-1banner-1 | hex-ui | Blocks | Free | 1 dep · 2 files | |
| Banner-2banner-2 | hex-ui | Blocks | Free | 1 dep · 2 files | |
| Cta-1cta-1 | hex-ui | Blocks | Free | 1 dep · 2 files | |
| Cta-2cta-2 | hex-ui | Blocks | Free | 1 dep · 2 files | |
| Cta-3cta-3 | hex-ui | Blocks | Free | 1 dep · 2 files | |
| Cta-4cta-4 | hex-ui | Blocks | Free | 1 dep · 2 files | |
| Faq-1faq-1 | hex-ui | Blocks | Free | no deps · 3 files | |
| Faq-2faq-2 | hex-ui | Blocks | Free | no deps · 3 files |
