# Modal — Pendulum

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

- Category: Modal
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Sienna
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: dialog, animation, overlay
- Page: https://builder.atheros.ai/components/modal-pendulum
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_modal_pendulum/preview-f1f4f3031b1e.webp

## Features

- Centered HUD hero with a tracked telemetry eyebrow, italic uppercase display heading, and a chamfered gold call-to-action
- One accessible dialog that reveals with the signature Pendulum swing
- The box pivots down from rotateX(-78deg) at a top-center origin and overshoots
- Angular chamfer-clipped panel (0px radius) with a gold frame rendered via layered clip-path
- Tachometer accent bar with tick marks and a light-sweep that runs on open
- Two-column spec grid replaces prose; hexagonal gauge badge and italic uppercase type carry the Lamborghini identity
- Modal content — badge, title, specs, actions — staggers in with small translateY and opacity delays
- Closes via the × button, Cancel, Confirm, overlay click, or the Escape key
- Focus moves into the open dialog box and returns to the trigger on close, with a focus trap on Tab
- Responsive layout that stacks the dialog actions on small screens
- Fully respects `prefers-reduced-motion`

## Accessibility

- **Dialog semantics** — The dialog box carries `role="dialog"`, `aria-modal="true"`, and `aria-labelledby` pointing at its title
- **Hidden state** — The closed dialog is `aria-hidden="true"` and `inert`; JS flips both when opening
- **Focus management** — The dialog box (`tabindex="-1"`) receives focus on open; focus returns to the trigger on close
- **Focus trap** — Tab and Shift+Tab cycle within the dialog while it is open
- **Trigger semantics** — Native `<button>` trigger with `aria-haspopup="dialog"` and an explicit `aria-label`
- **Button labels** — Every button — close, Cancel, Got it — has an explicit `aria-label`
- **Escape hatch** — Escape key, overlay click, and three buttons all dismiss the dialog
- **Focus indicators** — Global `:focus-visible` outline using the `--ring` token
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all transitions

## Keyboard shortcuts

- `Escape` — Close the open dialog
- `Enter` — Activate the focused trigger or button
- `Space` — Activate the focused trigger or button
- `Tab` — Move focus between the dialog buttons

## Common questions

**Which frameworks is Modal — Pendulum available in?**

Modal — Pendulum ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is Modal — Pendulum free?**

Modal — Pendulum is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Modal — Pendulum support dark mode?**

Yes. Modal — Pendulum ships light and dark themes, both drawn from the Sienna design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Modal — Pendulum live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/modal-pendulum

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
