Login Gate Intro
A lock-screen preloader: oversized clock, generated avatar card, a password field that types itself, a three-step sign-in sequence, then the site fades up. Skip link included; reduced motion opens instantly.
Try it: Press “Sign in as guest” (or Skip intro) — the lock dissolves into the content.
Brings its own background. The lock screen paints its own generated wallpaper and scrim; the revealed content is whatever you pass as children.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/login-gate-intro.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/login-gate-intro. You can also copy the source into components/ui/login-gate-intro.tsx (view on GitHub).
Usage
import { LoginGateIntro } from '@/components/ui/login-gate-intro'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
name / role | string | 'Guest Studio' / 'Design engineer' | Text on the lock card; initials make the generated avatar. |
steps | string[] | 3 lines | Status lines cycled while signing in. |
cta | string | 'Sign in as guest' | Button label. |
wallpaperSeed | number | 9 | Seed for the generated lock-screen art. |
defaultOpen | boolean | false | Start already unlocked (returning visitors). |
onEnter | () => void | — | Fires once when the gate opens. |
children | ReactNode | — | The site revealed after the gate. |
Dependencies
motionlucide-react
Related Loading components
- Cook Loading
An illustrated chef stirs a sizzling wok while your app loads — eight original cooking poses, drifting steam, real progress and ready/error states in one self-contained component.
- Snake Loader
A progress loader whose visual is a tiny snake board. The snake plays itself while you wait, progress fills a row of tiles beneath it, and the status line carries the label, current step and…
- Hourglass Loader
A brass-and-glass hourglass: sand drains from the upper bulb through a trickling stream into a growing mound, and in endless mode the glass turns itself over on a spring when the top runs dry. Pass…
- Lattice Pulse Loader
3×3 nodes pulse in a traveling wave.
- Orbital Bead Loader
Beads orbit a core; hover speeds up.
- Particle Morph Loader
A depth-lit swarm of motes spins in 3D and melts between sphere, ribbon, shell, tetra, ring and helix while a status word rolls underneath.