Skip to main content
ALEXY LINK

Modal 09

A multi-step dialog for export settings, with a progress rail, step labels and state kept between steps.

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 Modal 09

Modal 09 is a modal component in the Modal Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 16, 2026.

  • modal
  • multi-step

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 dialog, alert; aria-modal, aria-labelledby, aria-describedby, aria-label, aria-live.
  • HTML elements used: section, form, table, ol, dl, button, input, label, svg.
  • Keyboard keys handled: Escape, Tab.
  • Includes a prefers-reduced-motion rule for its animation.

React + TypeScript + Tailwind CSS

3 files: Modal09.jsx, Modal09.types.ts, Modal09.tailwind.css

  • Configurable through 7 props: open, counts, noun, defaultEmail, onExport, onClose, className.
  • Uses React hooks: useEffect, useId, useRef, useState.
  • ARIA in the markup: roles dialog, alert; aria-modal, aria-labelledby, aria-describedby, aria-current, aria-label, aria-disabled and 2 more.
  • HTML elements used: table, ol, dl, button, input, label, svg.
  • Keyboard keys handled: Escape, Enter, Tab.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm.
View all Modal Components (10)