Veil UI
Components

Signup Page

A full signup page with account form and social providers.

Installation

$ npx veil-ui@latest add signup-page

Usage

import { SignupPage } from "@/components/ui/signup-page";

<SignupPage />;

Examples

Basic

Create your account

Start free. No credit card required.

At least 8 characters with one number.

Already have an account? Sign in

or sign up with
By signing up you agree to our terms.

API reference

The package exports signup-page along with its composable parts. It forwards standard attributes to its root element; see the examples above for the component-specific props.

Accessibility

  • Page templates use semantic landmarks and a single page-level heading.
  • Navigation links and actions have discernible names and visible focus styles.
  • Decorative imagery uses empty alt text; content images carry descriptions.

Vue and plain HTML

This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add signup-page --framework vue or switch the framework in components.json.

<template>
<div data-slot="auth-layout" class="grid w-full overflow-hidden rounded-xl border bg-background md:grid-cols-2 min-h-[600px]"><aside class="relative hidden flex-col justify-between overflow-hidden bg-gradient-to-br from-primary/20 via-muted to-background p-8 md:flex"><div><p class="text-base font-semibold tracking-tight">Veil UI</p><p class="mt-2 max-w-xs text-sm text-muted-foreground">Start free. No credit card required.</p></div><ul class="grid gap-3 text-sm"><li class="flex items-start gap-2"><span class="mt-0.5 flex size-5 items-center justify-center rounded-full bg-primary/10 text-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check size-3" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span>Free for personal projects</li><li class="flex items-start gap-2"><span class="mt-0.5 flex size-5 items-center justify-center rounded-full bg-primary/10 text-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check size-3" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span>Unlimited components</li><li class="flex items-start gap-2"><span class="mt-0.5 flex size-5 items-center justify-center rounded-full bg-primary/10 text-primary"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check size-3" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span>Community support</li></ul><p class="text-xs text-muted-foreground">© 2026 Veil UI. All rights reserved.</p></aside><div class="flex flex-col items-center justify-center gap-6 p-6 sm:p-10"><div class="w-full max-w-sm"><div class="grid gap-5"><form data-slot="signup-form" class="grid w-full max-w-sm gap-5"><div class="grid gap-1.5"><h1 class="text-xl font-semibold tracking-tight">Create your account</h1><p class="text-sm text-muted-foreground">Start free. No credit card required.</p></div><div class="grid gap-2"><label data-slot="label" class="flex select-none items-center gap-2 text-sm font-medium leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" for="signup-name">Full name</label><input data-slot="input" class="h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow,border-color] placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30" id="signup-name" autoComplete="name" required="" placeholder="Ada Lovelace" value=""/></div><div class="grid gap-2"><label data-slot="label" class="flex select-none items-center gap-2 text-sm font-medium leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" for="signup-email">Email</label><input type="email" data-slot="input" class="h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow,border-color] placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30" id="signup-email" autoComplete="email" required="" placeholder="you@example.com" value=""/></div><div class="grid gap-2"><label data-slot="label" class="flex select-none items-center gap-2 text-sm font-medium leading-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50" for="signup-password">Password</label><input type="password" data-slot="input" class="h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow,border-color] placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30" id="signup-password" autoComplete="new-password" required="" value=""/><p class="text-xs text-muted-foreground">At least 8 characters with one number.</p></div><div class="flex items-start gap-2"><button type="button" role="checkbox" aria-checked="false" aria-required="true" data-state="unchecked" value="on" data-slot="checkbox" class="peer size-4 shrink-0 rounded-sm border border-input shadow-xs outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground mt-0.5" id="signup-terms"></button><input type="checkbox" aria-hidden="true" required="" tabindex="-1" style="position:absolute;pointer-events:none;opacity:0;margin:0;transform:translateX(-100%)" value="on"/><label data-slot="label" class="flex select-none items-center gap-2 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50 text-sm font-normal" for="signup-terms">I agree to the terms of service and privacy policy.</label></div><button data-slot="button" data-variant="default" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 bg-primary text-primary-foreground hover:bg-primary/90 h-9 px-4 py-2 w-full" type="submit">Create account</button><p class="text-center text-sm text-muted-foreground">Already have an account? <a href="#login" class="font-medium text-primary underline-offset-4 hover:underline">Sign in</a></p></form><div class="flex items-center gap-3 text-xs text-muted-foreground"><span class="h-px flex-1 bg-border" aria-hidden="true"></span>or sign up with<span class="h-px flex-1 bg-border" aria-hidden="true"></span></div><div data-slot="social-login-buttons" class="grid gap-2"><button type="button" class="inline-flex h-9 w-full items-center justify-center gap-2 rounded-md border bg-background px-4 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50"><span aria-hidden="true" class="flex size-5 items-center justify-center rounded-full border bg-muted text-[10px] font-semibold">GH</span>Continue with GitHub</button><button type="button" class="inline-flex h-9 w-full items-center justify-center gap-2 rounded-md border bg-background px-4 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50"><span aria-hidden="true" class="flex size-5 items-center justify-center rounded-full border bg-muted text-[10px] font-semibold">G</span>Continue with Google</button></div></div></div><div class="text-center text-xs text-muted-foreground">By signing up you agree to our terms.</div></div></div>
</template>

On this page