Component packs › Diorama › Night Town
Slide the sun into the moon: the sky deepens, windows light one after another and snow begins to drift.
Night Town is a toggle from Diorama, a component pack with 8 toggles: Toggle switches that are tiny worlds. Price: $2 for the whole pack.
Built with: windows in sequence, spring thumb with squash, drag 1:1.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
Good for: Toggle switches.