BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/hex-ui/login-4

Login-4

hex-ui/login-4
FreeBlock

A login form with a customizable side background and a testimonial panel

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-4.json

Source

registry/blocks/login/login-4/source/app/login/page.tsxhexui.sh/r/login-4.json
1import Image from "next/image"
2import { LoginForm } from "../../components/login-form"
3import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
4
5export default function Page() {
6 return (
7 // Two-column split on lg: form (4 cols) + image panel (6 cols) with a testimonial overlay.
8 <div className="grid min-h-svh w-full lg:grid-cols-10">
9 <div className="flex col-span-4 items-center justify-center">
10 <div className="w-full max-w-xs">
11 <LoginForm />
12 </div>
13 </div>
14 <div className="relative hidden overflow-hidden lg:block col-span-6">
15 <div className="absolute inset-0">
16 <Image
17 width={1500}
18 height={1600}
19 src="/demo/backgrounds/sky.png"
20 alt="Background"
21 // Darken and desaturate the photo in dark mode so it doesn't compete with the form.
22 className="h-full w-full object-cover dark:brightness-[0.3] dark:grayscale"
23 />
24 {/* Gradient scrim improves text contrast; stronger in dark mode. */}
25 <div className="absolute inset-0 bg-gradient-to-t from-black/60 via-black/20 to-transparent dark:from-black/80 dark:via-black/40 dark:to-black/20" />
26 </div>
27 {/* Testimonial pinned to the bottom of the image, above the scrim (z-10). */}
28 <div className="relative z-10 flex h-full flex-col justify-end p-10">
29 <div className="space-y-2 text-white">
30 <blockquote className="text-2xl font-medium leading-snug">
31 &ldquo;It&rsquo;s so wonderful to see you all!&rdquo;
32 </blockquote>
33 <div className="flex items-center gap-3">
34 <Avatar>
35 <AvatarImage src="https://github.com/ri0n-dev.png" alt="@ri0n-dev" />
36 <AvatarFallback>RI</AvatarFallback>
37 </Avatar>
38 <div className="flex flex-col">
39 <div className="font-semibold">Rion</div>
40 <div className="text-sm text-white/80">Founder</div>
41 </div>
42 </div>
43 </div>
44 </div>
45 </div>
46 </div>
47 )
48}

What it pulls in

npm packages

  • @icons-pack/react-simple-icons
  • lucide-react

Other registry items

  • avatar
  • button
  • field
  • input

Files it writes

  • registry/blocks/login/login-4/source/app/login/page.tsx
  • registry/blocks/login/login-4/source/components/login-form.tsx

Facts

Registry
hex-ui
Type
registry:block
Access
Free
Files written
2
Licence
MIT
First indexed
2026-08-02
Last confirmed
today

Go to the source

Docs on hex-ui hexui.sh hexui-sh/ui on GitHub Raw registry item This item as JSON

More from hex-ui

All 34 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Banner-1banner-1hex-uiBlocksFree1 dep · 2 files
Banner-2banner-2hex-uiBlocksFree1 dep · 2 files
Cta-1cta-1hex-uiBlocksFree1 dep · 2 files
Cta-2cta-2hex-uiBlocksFree1 dep · 2 files
Cta-3cta-3hex-uiBlocksFree1 dep · 2 files
Cta-4cta-4hex-uiBlocksFree1 dep · 2 files
Faq-1faq-1hex-uiBlocksFreeno deps · 3 files
Faq-2faq-2hex-uiBlocksFreeno deps · 3 files
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex