
N° 0973 · toggle
Fullscreen Toggle is a toggle switch animation. It responds to click, fullscreen and keyboard. Palettes: Planetarium, Deep field, Star atlas, Aurora and Red-light.
Four L-shaped paths in a 24 px box, each with transform-origin at its own corner (6/6, 18/6, 6/18, 18/18). Hover translates them 2 px outward; [data-full] rotates each 180 deg so it points inward, and hover then pulls them 1.5 px in. Click calls requestFullscreen on btn.closest(data-target) ?? querySelector(data-target); fullscreenchange re-syncs; with no API, or a refusal (a sandboxed iframe), the target takes class is-fixed (position: fixed; inset: 0) and Escape leaves. On entering, the target animates clip-path from its old rect to inset(0).
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° 0973 · toggle

N° 0798 · toggle

N° 0800 · toggle

N° 0797 · toggle

N° 0796 · toggle

N° 0799 · toggle

N° 0408 · toggle

N° 0410 · toggle

N° 0832 · card

N° 0829 · loader

N° 0812 · input

N° 0819 · nav

N° 0798 · toggle

N° 0799 · toggle
N° 0413 · toggle

N° 0833 · button