VanillaReactLight & dark253 views
An accessible dialog that unfolds open like a folded letter, releasing a band of fold-shadow down its crease. Warm paper surface, serif headline, dateline, and a wax-seal mark, in light and dark.
Modal component
An accessible dialog that unfolds open like a folded letter, releasing a band of fold-shadow down its crease. Warm paper surface, serif headline, dateline, and a wax-seal mark, in light and dark.
--elevation-modal / --card-shadow.aria-controls and aria-expanded synchronized, with 44px minimum targets.prefers-reduced-motionrole="dialog", aria-modal="true", and aria-labelledby pointing at its titlearia-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:focus-visible outline using the --ring tokenprefers-reduced-motion: reduce disables all transitionsOpen Modal — Unfold 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