Veil heroAll-AccessNew
A waitlist hero with your product under a silk cover. Visitors drag the cloth to peek, its screen glows through the silk, and joining the list whisks the cover off.
Used forPre-launch waitlistsPrivate betas and invite listsLaunch dayHardware with a screen
Install with the shadcn CLI
A premium block, included with All-Access (see what’s inside). Add the @hairline-pro registry once, with the token from your account settings. Set it up
Templates
Need the whole page?
65 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $159, and 8 are free.
Where it’s used
Pre-launch waitlists
The cover makes the sign-up the reveal: the people who join see the product first.
Private betas and invite lists
Visitors can lift a corner and see that something real is under there before they leave an email.
Launch day
Set launched and the cover comes off on load, so the same hero carries the page from waitlist to release.
Hardware with a screen
Any product shown as a 16:10 picture: a dashboard, an app, a device UI, a game.
What it handles for you
A teaser usually means a blurred screenshot, a countdown and an email field that promise nothing. Building a real reveal means a cloth simulation, shadows and a 3D library, and most of them run forever.
Real cloth, no library
Verlet points with stretch, shear and bend constraints, draped over the display and its stand. It sleeps once it stops moving, so a settled page costs nothing.
Light that comes through
Your screenshot is the screen. Where the silk lies on it, its colours glow through the cloth, and once the cover is off its light falls on the floor.
Peek without signing up
Drag the cloth anywhere to lift it, or tap it on a phone. A label on the floor does the same for keyboards and screen readers.
Joining is the reveal
onJoin takes the email. When it resolves, the cover is pulled off the top edge and flies out of the room, and the visitor sees their place on the list.
A studio, lit once
One key light with a soft shadow map, a contact shadow on the paper sweep, a softbox in the glass and a satin or velvet sheen, all in one WebGL2 canvas.
Studio or noir
A light paper sweep or a dark room lit by the screen. Silk, satin or velvet. Every colour is a --vh-* variable.
Overview
Waitlist pages usually hide the product behind a blurred screenshot or a countdown, so there is nothing to look at and no reason to sign up today. Veil hero stands your product on a studio display under a real cloth: a WebGL2 simulation of 2,320 points that drapes, folds and casts shadows from one key light. The screen is on underneath, and its light comes through the silk in your product’s own colours. Visitors drag the cloth to lift it and look (or tap it on a phone), and it falls back when they let go. When someone joins, the cover is whisked off and the display stands bare: the people on the list see it first. Give it one 16:10 screenshot and the date you open.
States
- arrival
- The cover drops onto the display and settles; the screen wakes underneath and its light comes through the silk; a breeze lifts one corner for a moment.
- peek
- Dragging the cloth lifts it where it was grabbed and shows the screen beneath; letting go drops it back over the display.
- hover
- The cloth stirs a little where the pointer brushes past it.
- joining
- The button shows a spinner while onJoin runs; a bad email shakes the field and says why.
- joined
- The cover is pulled off the top edge and out of the room, the screen lights the floor, and the field becomes the visitor’s place on the list.
- launched
- With launched set, the cover comes off on load.
- phone
- Under 900px the headline sits above the display and the form below it; a tap on the cloth flicks it up.
- reduced motion
- The cover is drawn already resting with the screen on; joining takes it off at once.
Usage
Depends on lucide-react, installed for you by the CLI along with the keyframes it needs.
A dark room, your own face and colour
VeilHero reads its type from --vh-display and --vh-sans and every colour from --vh-* variables, the cloth and the room included. tone sets the room and fabric the cloth.
Props
- brand
- string
- Wordmark in the bar.
- logo
- ReactNode
- Replaces the default draped mark.
- navLinks
- { label: string; href: string }[]
- Quiet links in the bar, hidden under 640px. The bar always ends with a link to the email field.
- opensAt
- string | Date
- The day it opens, shown as the date and the days left.
- eyebrow
- string
- Replaces the date line.
- headline
- string[]
- Two or three lines; each rises out of its slot on load.
- subheadline
- string
- One sentence under the headline.
- screen
- string
- A 16:10 picture of your product (1600 × 1000 is plenty). Another origin needs CORS.
- screenAlt
- string
- What the screen shows, read out once the cover is off.
- waitlistCount
- number
- People already on the list, shown under the field and counted up when someone joins.
- onJoin
- (email: string) => void | Promise<void>
- Save the email. Throw an Error and its message is shown under the field.
- placeholder / joinLabel= "you@company.com" / "Join the list"
- string
- The field’s placeholder and the button.
- joinedMessage= "You're number {position}. We'll write the day it opens."
- string
- {position} becomes their number on the list.
- revealOnJoin= true
- boolean
- Whisk the cover off when someone joins.
- launched= false
- boolean
- Take the cover off on load.
- tone= "studio"
- "studio" | "noir"
- A light paper sweep, or a dark room lit by a top light and the screen.
- fabric= silk (studio), satin (noir)
- "silk" | "satin" | "velvet"
- How the cloth catches light and how much of the screen comes through it.
Accessibility and motion
- Colours: --vh-ground (the paper), --vh-silk and --vh-lining (the cloth), --vh-metal (the display), --vh-ink, --vh-ink-2, --vh-ink-3, --vh-rule, --vh-field, --vh-field-hover, --vh-on-silk. They never inherit your shadcn theme.
- The loop runs only while something moves, the hero is on screen and the tab is visible. A resting cover draws nothing; the canvas is capped at about 1.7 million pixels.
- Needs WebGL2 (every current browser). Without it the copy and the form still work and the stage stays plain.
- The canvas is aria-hidden. The visual is described for screen readers, and the label on the floor is a button that lifts the cover, so keyboards can peek too.
- On phones the cloth takes taps, not drags, so the page still scrolls over it.
- Under prefers-reduced-motion the cover is drawn resting with the screen on, and joining takes it off without the throw.
Requirements
React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.
Source
Part of All-Access
Veil hero is 2,184 lines of finished work.
- components/veil-hero.tsx683 lines
- components/veil-hero-gl.ts1,501 lines
Installs with npx shadcn add @hairline-pro/veil-hero, in your theme, light and dark.
$159once, for everything
The 57 paid templates alone are $2,223 one by one.
- Veil hero: the source and the CLI install
- Every premium block: 20 today, and each one we add
- All 65 Next.js templates, with live demos
- Commercial license for unlimited client sites
Guest checkout · Instant CLI token + downloads · 5 more templates and it goes to $169. Full refund within 14 days, until your first download.
Already have All-Access? Sign in to see the source


