
N° 0801 · toggle
Grid and List View Toggle is a toggle switch animation. It responds to click. Palettes: Greenhouse, Night garden, Blue pot, Sun room and Fern dark.
Two radio inputs in a fieldset (arrow keys move between them natively); a thumb behind them slides by --on. On change the script records every card's rect, toggles .is-list on the list (grid-template-areas switch from art / name price / care to art name price / art care price), records the new rects and plays a WAAPI translate from old to new on each card (380 ms, 25 ms stagger, fill backwards); transforms only, so text never scales. The value is stored under data-store in localStorage and applied without animation on load.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0801 · toggle

N° 0798 · toggle

N° 0800 · toggle

N° 0797 · toggle

N° 0796 · toggle

N° 0799 · toggle

N° 0408 · toggle

N° 0410 · toggle

N° 0972 · overlay

N° 0959 · card

N° 0955 · input
N° 0958 · image

N° 0784 · listings

N° 0800 · toggle

N° 0797 · toggle

N° 0890 · contact