
N° 0961 · card
Card Form UI Demo is a card animation. It responds to focus, input, 3d flip and validation. Palettes: Plum, Graphite, Evergreen, Daylight and Garnet.
Each input event re-renders the number as spans in the scheme's groups (4-4-4-4, or 4-6-5 for Amex), with unfilled slots as dimmed dots and the newest digit animated in with a 220 ms pop; the caret is kept after the same count of digits when spaces are inserted. The scheme comes from the leading digits (4 Visa, 51–55 or 22–27 Mastercard, 34 or 37 Amex, 6011 or 65 Discover) and sets the code length to 3 or 4. focus on any field sets data-focus on the root, which outlines the matching zone of the card in gold; focus on the security code adds .is-back and the card rotates rotateY(180deg) over 700 ms to show the strip with the typed code.
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° 0961 · card

N° 0960 · card

N° 0959 · card

N° 0957 · card

N° 0831 · card

N° 0830 · card

N° 0353 · card

N° 0360 · card

N° 0829 · loader

N° 0808 · input

N° 0801 · toggle

N° 0707 · Uptime monitoring and status pages

N° 0954 · input

N° 0826 · loader

N° 0812 · input

N° 0819 · nav