Skip to main content
BlocksSign upSign up with cover image on the right

shadcn/ui Sign up blockSign up with cover image on the right

A two-column shadcn/ui sign up block with the registration form, OAuth buttons, and your logo on the left, paired with a full-height cover image on the right. Includes a terms and conditions checkbox and password strength hint. Built with shadcn/ui Button, Card, Input, Label, and Checkbox — fully themeable and responsive. Add this Pro Block to your shadcn/ui project with the command above.

Free@shadcnpro/sign-up-01

Preview

Installation

npx shadcn@latest add @shadcnpro/sign-up-01

First time? Add the @shadcnpro registry to components.json as shown in Installation. Free blocks install without a license key.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Sign up with cover image on the right from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Sign up with cover image on the right uses Button, Card, Checkbox, Input and Label.

npx shadcn@latest add button card checkbox input label

Copy the code

Paste it into components/blocks/sign-up-01.tsx.

components/blocks/sign-up-01.tsx
'use client';

import React from 'react';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';
import { Checkbox } from '@/components/ui/checkbox';
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from '@/components/ui/card';

function GoogleIcon({ className }: { className?: string }) {
  return (
    <svg className={className} viewBox="0 0 24 24" aria-hidden>
      <path
        d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z"
        fill="#4285F4"
      />
      <path
        d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
        fill="#34A853"
      />
      <path
        d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
        fill="#FBBC05"
      />
      <path
        d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
        fill="#EA4335"
      />
    </svg>
  );
}

function AppleIcon({ className }: { className?: string }) {
  return (
    <svg className={className} viewBox="0 0 24 24" aria-hidden>
      <path
        d="M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"
        fill="currentColor"
      />
    </svg>
  );
}

export default function SignUp01() {
  return (
    <div className="grid min-h-svh lg:grid-cols-2">
      <div className="flex flex-col gap-4 p-6 md:p-10">
        <a href="#" className="flex items-center justify-center gap-2 md:justify-start">
          <img src="/logo.png" alt="" className="size-8 rounded-lg object-cover" />
        </a>
        <div className="flex flex-1 items-center justify-center">
          <div className="w-full max-w-xs">
            <Card className="w-full">
              <CardHeader>
                <CardTitle>Sign up</CardTitle>
                <CardDescription>Create your account to get started</CardDescription>
              </CardHeader>
              <form>
                <CardContent className="space-y-4">
                  <div className="flex flex-col gap-2">
                    <Button type="button" variant="outline" className="w-full">
                      <GoogleIcon className="size-4 shrink-0" />
                      Sign up with Google
                    </Button>
                    <Button type="button" variant="outline" className="w-full">
                      <AppleIcon className="size-4 shrink-0" />
                      Sign up with Apple
                    </Button>
                  </div>
                  <div className="relative">
                    <div className="absolute inset-0 flex items-center">
                      <span className="w-full border-t border-border" />
                    </div>
                    <div className="relative flex justify-center text-xs uppercase">
                      <span className="bg-card px-2 text-muted-foreground">Or</span>
                    </div>
                  </div>
                  <div className="space-y-2">
                    <Label htmlFor="sign-up-01-name">Name</Label>
                    <Input id="sign-up-01-name" name="name" placeholder="Your name" autoComplete="name" required />
                  </div>
                  <div className="space-y-2">
                    <Label htmlFor="sign-up-01-email">Email</Label>
                    <Input id="sign-up-01-email" name="email" type="email" placeholder="name@example.com" autoComplete="email" required />
                  </div>
                  <div className="space-y-2">
                    <Label htmlFor="sign-up-01-password">Password</Label>
                    <Input id="sign-up-01-password" name="password" type="password" autoComplete="new-password" required />
                    <p className="text-xs text-muted-foreground">8 characters minimum</p>
                  </div>
                  <div className="flex items-center gap-2">
                    <Checkbox id="sign-up-01-terms" name="terms" required />
                    <Label htmlFor="sign-up-01-terms" className="text-sm font-normal inline">
                      I agree to the{' '}<a href="#" className="text-primary underline underline-offset-4 hover:no-underline">terms &amp; conditions</a>
                    </Label>
                  </div>
                </CardContent>
                <CardFooter className="flex flex-col gap-4 pt-6">
                  <Button type="submit" className="w-full">Sign up</Button>
                </CardFooter>
              </form>
            </Card>
            <p className="mt-4 text-center text-sm text-muted-foreground">
              Already have an account?{' '}
              <a href="#" className="text-primary underline underline-offset-4 hover:no-underline">
                Sign in
              </a>
            </p>
          </div>
        </div>
      </div>
      <div className="relative hidden bg-muted lg:block">
        <img
          src="/placeholder.svg"
          alt=""
          className="absolute inset-0 h-full w-full object-cover dark:brightness-[0.2] dark:grayscale"
        />
      </div>
    </div>
  );
}

Use it

Import it where you need it and update the import path to match your project.

Usage
import SignUp01 from '@/components/blocks/sign-up-01';

export default function Page() {
  return <SignUp01 />;
}

Overview

Sign up with cover image on the right is a free sign up block for shadcn/ui. It is built from the Button, Card, Checkbox, Input and Label components, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is a full-page layout that fills the viewport and adapts from desktop to mobile. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
Sign up
Component library
Radix UI (radix-ui)
Also available for
Base UI, React Aria
Built with
Button, Card, Checkbox, Input and Label
npm packages
None
Files
components/blocks/sign-up-01.tsx
Access
Free, installs without a license key

Frequently asked questions

Pricing, installation and Radix UI details for Sign up with cover image on the right.