Skip to content
caliper ui pro docs

Hero signup

A hero with a sign-up form built in.

Pro

Early access · opens in March

A component library that designs every state

Loading, empty, error and the keyboard path, done before you think to ask.

One email when we open. Nothing else.

2,400 designers and engineers are on the list

When to use

  • Capturing an email at the top of the page.

When not to use

  • Signing up needs more than a field.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/hero-signup

Adds its 8 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

HeroSignup

9 props
PropTypeDefaultDescription
eyebrowstring—
title *ReactNode—
description *string—
onSubmit *(email: string) => Promise<"joined" | "exists">—Resolve "joined" or "exists", or throw to show an error.
peoplereadonly string[][]
proofstring—
notestring—
align"center" | "start""center"Centre the hero on the page, or align it to the start beside other content.
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes status semantics, with aria-hidden, aria-invalid and aria-describedby kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/hero-signup.md

The index of every part is at /llms.txt.

More in Showpiece sections