Login with Email and Password
blocks/login-03FreeBlock
A login with email and password block.
Install it
npx shadcn@latest add https://blocks.so/r/login-03.jsonSource
1'use client';23import { Button } from '@/components/ui/button';4import { Input } from '@/components/ui/input';5import { Label } from '@/components/ui/label';67export default function Login03() {8 return (9 <div className="flex min-h-dvh items-center justify-center">10 <div className="flex flex-1 flex-col justify-center px-4 py-10 lg:px-6">11 <div className="sm:mx-auto sm:w-full sm:max-w-sm">12 <h3 className="text-balance text-center font-semibold text-foreground text-lg dark:text-foreground">13 Welcome Back14 </h3>15 <p className="text-pretty text-center text-muted-foreground text-sm dark:text-muted-foreground">16 Enter your credentials to access your account.17 </p>18 <form action="#" className="mt-6 space-y-4" method="post">19 <div>20 <Label21 className="font-medium text-foreground text-sm dark:text-foreground"22 htmlFor="email-login-03"23 >24 Email25 </Label>26 <Input27 autoComplete="email"28 className="mt-2"29 id="email-login-03"30 name="email-login-03"31 placeholder="ephraim@blocks.so"32 type="email"33 />34 </div>35 <div>36 <Label37 className="font-medium text-foreground text-sm dark:text-foreground"38 htmlFor="password-login-03"39 >40 Password41 </Label>42 <Input43 autoComplete="password"44 className="mt-2"45 id="password-login-03"46 name="password-login-03"47 placeholder="**************"48 type="password"49 />50 </div>51 <Button className="mt-4 w-full py-2 font-medium" type="submit">52 Sign in53 </Button>54 </form>55 <p className="mt-6 text-pretty text-muted-foreground text-sm dark:text-muted-foreground">56 Forgot your password?{' '}57 <a58 className="font-medium text-primary hover:text-primary/90 dark:text-primary dark:hover:text-primary/90"59 href="#"60 >61 Reset password62 </a>63 </p>64 </div>65 </div>66 </div>67 );68}
What it pulls in
Other registry items
Files it writes
More from blocks
All 76 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| AI Chat with Voice Inputai-01 | blocks | Blocks | Free | 1 dep | |
| AI Chat with Model Selectionai-02 | blocks | Blocks | Free | 1 dep | |
| AI Chat Compact Interfaceai-03 | blocks | Blocks | Free | 1 dep | |
| AI Chat with File Attachmentsai-04 | blocks | Blocks | Free | 1 dep | |
| AI Elements Chatai-05 | blocks | Blocks | Free | 2 deps | |
| Command Menu with Groupscommand-menu-01 | blocks | Blocks | Free | 1 dep | |
| Command Menu with Keyboard Shortcutscommand-menu-02 | blocks | Blocks | Free | 1 dep | |
| Command Menu with Documentation Searchcommand-menu-03 | blocks | Blocks | Free | 1 dep |
