v0.5.1

Auth Card

Login / signup card composed from Card, Field, Input, and Button.

Log in

Welcome back to Paubha.

Installation

npx paubha@latest add auth-card

Usage

import { AuthCard } from "@/components/ui/auth-card";
import { Field } from "@/components/ui/field";
import { Input } from "@/components/ui/input";
import { Button } from "@/components/ui/button";

<AuthCard title="Log in" description="Welcome back.">
  <form className="flex flex-col gap-4">
    <Field label="Email">
      <Input type="email" />
    </Field>
    <Button type="submit">Log in</Button>
  </form>
</AuthCard>

On this page