Login Exemple 1
bagui/login1FreeBlock
Frequently asked questions section with collapsible items.
Live preview
live · rendered by the registry
Rendered by bagUi on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://www.bagui.pro/r/login1.jsonSource
1"use client"23import { useState } from "react"4import Link from "next/link"56export default function LoginForm() {7 const [showPassword, setShowPassword] = useState(false)89 return (10 <div className="min-h-screen flex items-center justify-center bg-background p-4">11 <div className="w-full max-w-4xl flex flex-col gap-6">1213 {/* ── Card ── */}14 <div className="overflow-hidden rounded-xl border border-border shadow-sm grid md:grid-cols-2 bg-card">1516 {/* ── Form side ── */}17 <form className="p-6 md:p-8 flex flex-col gap-6">1819 {/* Header */}20 <div className="flex flex-col items-center text-center">21 <h1 className="text-2xl font-bold text-foreground">Welcome back</h1>22 <p className="text-sm text-muted-foreground mt-1">23 Sign in to your Bag\Ui account24 </p>25 </div>2627 {/* Email */}28 <div className="flex flex-col gap-1.5">29 <label30 htmlFor="email"31 className="text-sm font-medium text-foreground"32 >33 Email34 </label>35 <input36 id="email"37 type="email"38 placeholder="you@example.com"39 className="h-9 w-full rounded-md border border-input bg-transparent px-3 text-sm text-foreground placeholder:text-muted-foreground outline-none focus:ring-2 focus:ring-ring focus:border-transparent transition-shadow"40 />41 </div>4243 {/* Password */}44 <div className="flex flex-col gap-1.5">45 <div className="flex items-center justify-between">46 <label47 htmlFor="password"48 className="text-sm font-medium text-foreground"49 >50 Password51 </label>52 <Link53// … truncated
What it pulls in
npm packages
Files it writes
More from bagUi
All 25 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Dashboard Chat Appchat-app1 | bagUi | Blocks | Free | 2 deps | |
| Contact Exemple 1contact-1 | bagUi | Blocks | Free | 2 deps | |
| Contact Exemple 2contact-2 | bagUi | Blocks | Free | 2 deps | |
| CTA Exemple 1cta-1 | bagUi | Blocks | Free | 2 deps | |
| CTA Exemple 2cta-2 | bagUi | Blocks | Free | 2 deps | |
| Modern Store Dashboarddashboard-store | bagUi | Blocks | Free | 2 deps | |
| FAQ Exemple 1faq1 | bagUi | Blocks | Free | 2 deps | |
| Feature Exemple 1feature-1 | bagUi | Blocks | Free | 2 deps |
