VanillaReactLight & dark1K views
A modal share-link dialog built on the native `<dialog>` element — copy-to-clipboard with confirmation, a teammate access list, and a permission selector, fully token-driven and design-system agnostic.
Get the code for free
Create a free account to copy or download the full source.
Dialog component
A modal share-link dialog built on the native `<dialog>` element — copy-to-clipboard with confirmation, a teammate access list, and a permission selector, fully token-driven and design-system agnostic.
<dialog> element with built-in Escape-to-close and focus trappingtextContent (no external sanitizer)role="dialog", aria-modal="true", aria-labelledby on the title<button> with aria-label<button> with aria-label updated on copy<label> via for/id for input and select:focus-visible with the accent --ring outline on all elements--shr-accent) plus the soft accent fill, never a neutral grey — state is never colour-only, the border also appears/thickensprefers-reduced-motion: reduce disables all animationsOpen Share Dialog in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the dialog 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