BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Roi UI/card-login

Card Login

roi-ui/card-login
FreeItem

A login card component with email/password fields and social login options.

Install it

npx shadcn@latest add https://roiui.com/r/card-login.json

Source

registry/brook/blocks/card-login/components/card-login.tsxroiui.com/r/card-login.json
1"use client";
2import { Check } from "lucide-react";
3import { Badge } from "@/registry/brook/ui/badge/badge";
4import { Button } from "@/registry/brook/ui/button/button";
5import { Card, CardContent, CardHeader, CardTitle } from "@/registry/brook/ui/card/card";
6import { Checkbox, CheckboxIndicator } from "@/registry/brook/ui/checkbox/checkbox";
7import { Field, FieldError, FieldLabel } from "@/registry/brook/ui/field/field";
8import { Form, FormActions, FormGroup } from "@/registry/brook/ui/form/form";
9import { Input } from "@/registry/brook/ui/input/input";
10import styles from "./card-login.module.css";
11
12export default function CardLoginDemo() {
13 const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
14 e.preventDefault();
15 const formData = new FormData(e.currentTarget);
16 console.log("Form submitted:", Object.fromEntries(formData));
17 };
18
19 return (
20 <Card className={styles.card}>
21 <CardHeader>
22 <CardTitle className={styles.cardTitle}>Sign In</CardTitle>
23 </CardHeader>
24 <CardContent>
25 <Form className={styles.form} onSubmit={handleSubmit}>
26 <FormGroup>
27 <Field className={styles.emailField}>
28 <FieldLabel className={styles.fieldLabel}>Email</FieldLabel>
29 <Input
30 autoComplete="email"
31 name="email"
32 placeholder="Enter your email…"
33 required
34 spellCheck={false}
35 type="email"
36 />
37 <FieldError />
38 </Field>
39
40 <Field>
41 <div className={styles.passwordLabelRow}>
42 <FieldLabel className={styles.fieldLabel}>Password</FieldLabel>
43 <button className={styles.forgotPassword} type="button">
44 Forgot password?
45 </button>
46 </div>
47 <Input
48 autoComplete="current-password"
49 name="password"
50 placeholder="Enter your password…"
51 required
52 type="password"
53 />
54 <FieldError />
55 </Field>
56
57 <label className={styles.checkboxLabel} htmlFor="remember-me">
58 <Checkbox defaultChecked={false} id="remember-me" name="rememberMe">
59 <CheckboxIndicator>
60 <Check size={16} strokeWidth={3} />
61 </CheckboxIndicator>
62 </Checkbox>
63// … truncated

What it pulls in

Other registry items

  • https://roiui.com/r/badge.json
  • https://roiui.com/r/button.json
  • https://roiui.com/r/card.json
  • https://roiui.com/r/checkbox.json
  • https://roiui.com/r/field.json

Files it writes

  • registry/brook/blocks/card-login/components/card-login.tsx
  • registry/brook/blocks/card-login/components/card-login.module.css

Facts

Registry
Roi UI
Type
registry:item
Access
Free
Files written
2
Licence
the repository states none
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

roiui.com preetecool/roi-ui on GitHub Raw registry item This item as JSON

More from Roi UI

All 123 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionRoi UIOtherFreeno deps · 2 files
Accordion (Tailwind)accordion-tailwindRoi UIOtherFreeno deps
AI Chatai-chatRoi UIOtherFreeno deps · 2 files
AI Chat (Tailwind)ai-chat-tailwindRoi UIOtherFreeno deps
AlertalertRoi UIOtherFree1 dep · 2 files
Alert Dialogalert-dialogRoi UIOtherFreeno deps · 2 files
Alert Dialog (Tailwind)alert-dialog-tailwindRoi UIOtherFreeno deps
Alert (Tailwind)alert-tailwindRoi UIOtherFree1 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