Component packs › Diorama › Rain Cloud

Rain Cloud

The cloud darkens and rains wherever you drag it, and rings open on the puddle.

Rain Cloud 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: rain follows the thumb, puddle rings, sky shift.

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.

More in Diorama

Good for: Toggle switches.