Waitlist morph
One pill that becomes each step of joining a list: a button, an email field with its send arrow, then a confirmation with a drawn check. The width eases between the measured width of each step, so nothing jumps.
When to use
- Launch pages, early access and newsletter sign up.
- Any single-field capture that should stay small until used.
When not to use
- Forms with more than one field; use the newsletter signup or a form.
- Places where the field must be visible from the start.
Installation
pnpm dlx shadcn@latest add @caliper/waitlist-morph
Adds its 2 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
WaitlistMorph
5 props
Keyboard
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It exposes status semantics, with aria-invalid, aria-describedby, aria-label and aria-hidden 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/waitlist-morph.mdThe index of every part is at /llms.txt.