BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/einui/login-page

Login Page

einui/login-page
FreeBlock

A complete login page with email and password authentication, password visibility toggle, remember me option, and social login buttons.

Live preview

live · rendered by the registry
Rendered by einui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.eindev.ir/r/login-page.json

Source

registry/blocks/auth/login-page.tsxui.eindev.ir/r/login-page.json · first 6 KB
1"use client"
2
3import { useState } from "react"
4import { Eye, EyeOff, LogIn } from "lucide-react"
5import { GlassCard, GlassCardContent, GlassCardDescription, GlassCardHeader, GlassCardTitle } from "@/registry/liquid-glass/glass-card"
6import { GlassInput } from "@/registry/liquid-glass/glass-input"
7import { GlassButton } from "@/registry/liquid-glass/glass-button"
8import { Label } from "@/components/ui/label"
9
10export default function LoginPageBlock() {
11 const [showPassword, setShowPassword] = useState(false)
12 const [email, setEmail] = useState("")
13 const [password, setPassword] = useState("")
14 const [isLoading, setIsLoading] = useState(false)
15
16 const handleSubmit = async (e: React.FormEvent) => {
17 e.preventDefault()
18 setIsLoading(true)
19 // Simulate API call
20 await new Promise((resolve) => setTimeout(resolve, 2000))
21 setIsLoading(false)
22 alert(`Logged in with email: ${email}`)
23 }
24
25 return (
26 <div className="min-full py-4 flex items-center justify-center bg-linear-to-br from-slate-950 via-purple-900 to-slate-950 px-4">
27 <GlassCard className="w-full max-w-md">
28 <GlassCardHeader className="space-y-2 text-center">
29 <div className="flex justify-center mb-2">
30 <div className="p-2 rounded-lg bg-linear-to-br from-cyan-400 to-blue-500">
31 <LogIn className="h-6 w-6 text-white" />
32 </div>
33 </div>
34 <GlassCardTitle className="text-xl">Welcome Back</GlassCardTitle>
35 <GlassCardDescription>Sign in to your account to continue</GlassCardDescription>
36 </GlassCardHeader>
37
38 <GlassCardContent>
39 <form onSubmit={handleSubmit} className="space-y-5">
40 {/* Email Input */}
41 <div className="space-y-2">
42 <Label htmlFor="email" className="text-white/80">
43 Email Address
44 </Label>
45 <GlassInput
46 id="email"
47 type="email"
48 placeholder="you@example.com"
49 value={email}
50 onChange={(e) => setEmail(e.target.value)}
51 required
52 className="bg-white/5"
53 />
54 </div>
55
56 {/* Password Input */}
57 <div className="space-y-2">
58 <div className="flex items-center justify-between">
59 <Label htmlFor="password" className="text-white/80">
60 Password
61 </Label>
62// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • https://ui.eindev.ir/r/glass-card.json
  • https://ui.eindev.ir/r/glass-button.json
  • https://ui.eindev.ir/r/glass-input.json
  • https://ui.eindev.ir/r/glass-checkbox.json

Files it writes

  • registry/blocks/auth/login-page.tsx

Facts

Registry
einui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on einui ui.eindev.ir einui/einui on GitHub Raw registry item This item as JSON

More from einui

All 42 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Admin Paneladmin-paneleinuiBlocksFree1 dep
Forgot Password Pageforgot-password-pageeinuiBlocksFree1 dep
Pricing Pagepricing-pageeinuiBlocksFree1 dep
Sign Up Pagesignup-pageeinuiBlocksFree1 dep
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