Alert 10
The ALEXY LINK signature undo alert: a floating confirmation whose neon edge drains as the undo window closes.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
Typography: Inter, with a system sans-serif fallback.
About Alert 10
Alert 10 is an alert component in the Alert Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 14, 2026.
- alert
- undo
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- ARIA in the markup: roles group, status; aria-label, aria-labelledby, aria-describedby, aria-atomic.
- HTML elements used: section, ul, button, svg.
- Keyboard keys handled: Escape.
- Includes a prefers-reduced-motion rule for its animation.
React + TypeScript + Tailwind CSS
3 files: Alert10.jsx, Alert10.types.ts, Alert10.tailwind.css
- Configurable through 15 props: open, eventKey, title, detail, duration, startElapsed, paused, undoLabel, undoneMessage, undoShortcut and 5 more.
- Uses React hooks: useEffect, useId, useLayoutEffect, useRef, useState, useSyncExternalStore.
- ARIA in the markup: roles status, group; aria-atomic, aria-label, aria-labelledby, aria-describedby.
- HTML elements used: ul, button, svg.
- Keyboard keys handled: Escape.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm.