# Modal — Focus Pull

> An accessible cinematic dialog that transitions from blur to sharp focus, with a reticle, timecode, keyboard support, and responsive themes.

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

## Features

- Cinematic hero with a mono REC/scene timecode eyebrow, tight film-title heading, and a restrained inverted call-to-action
- One accessible dialog that reveals with the signature Focus Pull animation inside a 16:9 letterboxed media frame
- The box scales down from 1.28 while de-blurring, and the overlay animates a frosted backdrop-filter
- The letterbox header carries corner focus-ticks, a center focus reticle, a pulsing REC marker, and lens metadata instead of a gradient badge
- A mono timecode caption counts in with a clip-path wipe as the frame settles
- Dialog title, text, and actions pull into focus with staggered translateY and opacity
- Film-neutral palette — the interface is intentionally colorless, all depth comes from the dark letterbox and focus geometry
- Closes via the × button, Cancel, Got it, 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
- **Decorative frame** — The 16:9 media frame, corner ticks, reticle, REC marker, and timecode are `aria-hidden` decoration
- **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 and animations

## 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 — Focus Pull available in?**

Modal — Focus Pull 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 — Focus Pull free?**

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

**Does Modal — Focus Pull support dark mode?**

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

## Get the code

Preview Modal — Focus Pull 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-focus-pull

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
