# Card Stack Hover

> An accessible stack of tactile field-note cards: on wide screens it fans out with a springy overshoot on hover or focus; on narrow screens tapping deals the front card away and cycles the deck. Selection and keyboard traversal work in both modes.

- Category: Card
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Runway
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: keyboard, stack
- Page: https://builder.atheros.ai/components/card-stack-hover
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_card_stack_hover/preview-b25872dd62b3.webp

## Features

- Three layered field-note cards with local photographic artwork and no remote media
- Spring fan-out with visible overshoot on hover, `:focus-within`, or pinned touch selection (widths above 40rem)
- Card-swap deck cycling on narrow screens: tap deals the front card aside and tucks it under
- Fluid card scaling — the whole fan shrinks as one object via the `--csh-u` card unit
- Roving tab stop with Arrow, Home, End, and Escape keyboard support
- Pressed state, live selection announcement, visible focus, and reduced motion
- Design-system-driven color, typography, spacing, radius, and theme tokens

## Accessibility

- **Native controls** — Every card is a real `<button>`
- **Selection** — `aria-pressed` mirrors the active card
- **Keyboard** — Arrow keys, Home, End, and Escape
- **Focus** — `:focus-visible` opens the stack and draws a strong outline
- **Status** — Polite live region announces the selected card
- **Motion** — `prefers-reduced-motion` removes animated interpolation

## Keyboard shortcuts

- `ArrowRight` / `ArrowDown` — Select the next card
- `ArrowLeft` / `ArrowUp` — Select the previous card
- `Home` / `End` — Select the first or last card
- `Escape` — Collapse the pinned stack

## Common questions

**Which frameworks is Card Stack Hover available in?**

Card Stack Hover 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 Card Stack Hover free?**

Card Stack Hover is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Card Stack Hover support dark mode?**

Yes. Card Stack Hover ships light and dark themes, both drawn from the Runway design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Card Stack Hover 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/card-stack-hover

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
