Discovery Scene

An illustrated desk (night in dark mode, daylight in light) with six hidden sparkles. Each find lights its object — lamp, steam, spinning record — reveals a fact, and counts toward “found 6 / 6”. Plain list and reset included.

Try it: Find the six sparkles around the desk — tap or Tab and press Enter.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/discovery-scene.json

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

Usage

import { DiscoveryScene } from '@/components/ui/discovery-scene'

Props

Component props
PropTypeDefaultNotes
items{ title: string; text: string }[]6 sample factsFacts mapped in order to window, print, lamp, mug, notebook, record player.
titlestring'Look around the desk'Heading above the scene.
onComplete() => void—Fires when all sparkles are found.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Image Lens

    A glass loupe that follows the pointer and magnifies the image beneath it: the rim refracts and fringes like real glass, the rest of the frame softly desaturates, and pinch, ctrl+wheel or a click…

  • Mini Desktop OS

    A tiny windowed desktop for a portfolio: generated wallpaper, menu bar with a live clock, icon grid, draggable windows with close / minimise / maximise, and a dock. Keyboard-movable; sheets on phones.

  • Dealer Deck Testimonials

    Testimonials dealt like playing cards: the top card of a face-down deck slides across the table on a spring, flips face-up mid-flight and lands slightly askew on the pile. Take one back or gather…

  • Big-Type Footer

    A closing section built around one enormous word whose letters swell and lean toward the cursor, with a ticker, quiet link pills, a live local clock and back-to-top. Light paper / dark ink, never a…

  • Particle Mesh Gallery

    An image-colored particle sphere unfolds into a portrait on tap and gathers back on double tap, with original landscape art and a quiet project index.

  • Pinned Project Reel

    The section pins to the viewport and your vertical scroll slides a film strip of project cards sideways, with a springy counter and progress line. Focusing a card scrolls the page to it; reduced…

See all 35 Portfolio components