Early-bird pricing is open: 50 of 50 licenses still available. See pricing

Skip to content
popcons

NeonDialog

Neon packdialogoverlay

Modal dialog with a glowing cyan edge for dark pages. Traps Tab, closes on Escape and restores focus. Use inline for previews.

Install this component

Install command hidden until you are signed in with a license.

Install the whole pack

Install command hidden until you are signed in with a license.

Live demo

Props

NeonDialog props
PropTypeDescription
sizenumberPixel size of the artwork.
titlestringAccessible name. Omit it to mark the art decorative.
animatebooleanTurn the idle motion off. Defaults to true.

Accessibility

Notes

  • role=dialog with a focus trap, Escape to close and focus return.
  • Opens above the page, closes with Escape and returns focus to where it came from.
  • Animation honours prefers-reduced-motion: it stops or becomes static.
  • Visible focus ring on every interactive part.

Source

Copy the files into your project, and import the pack styles once (tokens and keyframes). Or install with the commands above (they unlock with your license).

The full NeonDialog source is part of the license.

The live demo is free to try. A license unlocks copy-paste source, installs and exports for every component and pack.

Unlock every icon

More from Neon