Lens Reveal 404

A caretaker sweeps beneath a giant amber 404 while a brass loupe follows the pointer and magnifies a hidden message layer.

Try it: Move the loupe (or arrow keys) — find the secret under the lens.

Brings its own background. A warm paper-and-ink scene that looks the same on light and dark pages. Override the frame via className.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/lens-reveal-404.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/lens-reveal-404. You can also copy the source into components/ui/lens-reveal-404.tsx (view on GitHub).

Usage

import { LensReveal404 } from '@/components/ui/lens-reveal-404'

Props

Component props
PropTypeDefaultNotes
title / subtitlestring—Visible copy outside the lens.
secretTitle / secretSubtitlestring—Copy that only appears under the lens.
radiusnumber76Lens radius in px.
zoomnumber1.5Magnification inside the lens.
homeHref / onHomestring / () => void'/'Home button target or handler.

Dependencies

  • motion
  • lucide-react
  • Constellation Lost 404

    Tiny 3D astronaut among reconnecting star “404” with pointer parallax.

  • Mesh Orb 404

    Glowing mesh-grid sphere with bloom, pulse synced to fake audio, equatorial waveform ring.

  • Paper Tear 404

    3D folded paper character peeking through a torn hole; perspective scraps.

  • Mars Tether 404

    Mars-textured sphere as the 0, orange astronaut perched on top, tethered rocket with waving path.

  • Glitch Portal 404

    Faceted buddy stuck in a chromatic portal — RGB split, scanlines, rim glow.

  • Paper Orbit 404

    Layered paper-cut space scene with orbital rings, cratered moons, astronaut, and terracotta home CTA.

See all 7 404 Animation components