VanillaReactLight & dark463 views
An accessible payment-card dialog that flips to reveal its content, with a sweeping highlight, keyboard support, and light and dark themes.
Modal component
An accessible payment-card dialog that flips to reveal its content, with a sweeping highlight, keyboard support, and light and dark themes.
backface-visibility on a preserve-3d box; entrance opacity lives on an outer stack so it never flattens the 3D sceneprefers-reduced-motionrole="dialog", aria-modal="true", and aria-labelledby pointing at its titlearia-hidden="true" — only the dialog back is announced; the accessible flip control is the labelled "Flip card" buttonaria-hidden="true" and inert; JS flips both when openingtabindex="-1") receives focus on open; focus returns to the trigger on close<button> trigger with aria-haspopup="dialog" and an explicit aria-labelaria-label; the flip label swaps between front/details:focus-visible outline using the --ring tokenprefers-reduced-motion: reduce disables all transitions and JS skips the front hold, flipping immediatelyOpen Modal — Card Flip in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the modal is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually