Grab the code for this component with free account
Every free component's full source, ready to copy or download, plus 30 monthly AI credits for Atheros AI routing to make it yours.
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.

An accessible observatory-style dialog that opens through an animated circular aperture, with keyboard support and light and dark themes.

An accessible payment-card dialog that flips to reveal its content, with a sweeping highlight, keyboard support, and light and dark themes.

An accessible cinematic dialog that transitions from blur to sharp focus, with a reticle, timecode, keyboard support, and responsive themes.

An accessible motorsport dialog that swings open on a 3D arc, with angular details, a specification grid, keyboard support, and responsive themes.

An accessible mobile-app bottom sheet that springs up from the bottom edge with a grab handle, an amount summary, and list-rows instead of a paragraph — a fintech payment-confirmation sheet themed by the Neovault design system (inspired by Revolut), with a full-width pill CTA and full keyboard.

An accessible dialog that spirals into place with a compact gradient spiral badge, staggered content, keyboard support, and light and dark themes.
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
