Component packs › Diorama › Fish Tank
Water rises with a rolling surface, bubbles stream from the thumb and a fish swims out from behind the stone.
Fish Tank 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: live wave surface, swimming fish, bubbles.
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.