HTML + CSSToggles

Paper pinwheel toggle

A paper pinwheel pinned to a wooden stick starts spinning while gusts of wind drift past behind it.

Settings

16px
1x

Code

<label class="uvq03-pnw"><input type="checkbox" role="switch"><span class="pw"><span class="wd"><i></i><i></i><i></i></span><i class="sk"></i><span class="hb"><span class="rt"><i class="f" style="--i:0"></i><i class="m" style="--i:0"></i><i class="f" style="--i:1"></i><i class="m" style="--i:1"></i><i class="f" style="--i:2"></i><i class="m" style="--i:2"></i><i class="f" style="--i:3"></i><i class="m" style="--i:3"></i></span><i class="pn"></i></span></span>Ventilation</label>

Prompt for AI

Paste it into ChatGPT, Claude or Cursor and it will adapt the block to your project with these settings, even if you don’t use React.

Markdown version with all the code, for AI assistants

More in Toggles

See all Toggles

Where to use it

This switch is a garden pinwheel made of four folded paper blades in two colors, pinned to a wooden stick. Off, it sits still with a slight tilt; on, it spins steadily while thin gusts of wind slide across behind it, and turning it off freezes it where it is. It fits ventilation settings, weather apps and garden shops.

The two colors paint alternate blades and their folds. Pastel pairs give a seaside feel, strong red and yellow a fairground one. The speed control changes how fast it spins.