Age Check
Five gates - gold orbit, passport stamp, classic Yes / No, ID-card DOB, or a full-bleed split.
Orbit gate
Dark burgundy card. Gold ring spins, 18+ rolls into place, then Yes / No. Near-opaque underlay.
Loading…
Passport stamp
Cream paper card - lined sheet, crimson ink seal, then Enter / Leave stacked full-width.
Loading…
Classic gate
The everyday pattern - white card, shield, clear question, Yes / No side by side, short legal line under the buttons.
Loading…
ID card
Landscape plastic ID - photo strip, DOB columns, then Confirm / Leave at 46px side by side.
Loading…
Split gate
Full-bleed card split in half - huge Yes on green, huge No on muted charcoal. Tap either side.
Loading…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| look | "orbit" · "stamp" · "classic" · "id" · "split" | "orbit" | orbit = gold ring; stamp = passport seal; classic = Yes/No card; id = plastic ID + DOB; split = Yes|No halves. |
| eyebrow | string | "AGE CHECK" | Small label above the title. |
| ageLabel | string | "18+" | Age shown in the ring, stamp, or classic eyebrow. |
| title | string | "Are you 18 or older?" | Main question. |
| description | string | "You must be of legal drinking age to enter this site." | Supporting line under the title. |
| confirmLabel | string | "Yes, I am 18+" | Primary enter control. |
| denyLabel | string | "No, take me back" | Secondary leave control. |
| finePrint | string | - | Legal line under the buttons (classic / id). Ignored by orbit / stamp / split. |
| denyHref | string | "#" | Where the deny link goes when `onDeny` is not used. |
| onConfirm | () => void | - | Fires when the visitor confirms age. |
| onDeny | () => void | - | Fires when the visitor declines (also closes the gate). |
| delayMs | number | 320 | Auto-open delay when `defaultOpen` is true. |
| position | "fixed" · "absolute" | "fixed" | `absolute` for framed demos; `fixed` for live sites. |