Aquarium Hero

Motion Components · Vol. 2

Component

Aquarium Hero

A real-time three.js reef: 230 shaded fish swim around the call to action, flee your cursor, scatter on click, and rush the button in a feeding frenzy when you feed them.

Variants

Sizes and states, all built from the same markup.

Small
Default
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility