Skip to main content
ALEXY LINK

Card 09

An expandable summary card that reveals secondary detail with accessible disclosure behavior and responsive motion.

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

Card 09 is a card component in the Card Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 22, 2026.

  • card
  • expandable card
  • cards
  • disclosure
  • details

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: aria-expanded, aria-controls.
  • HTML elements used: dl, button, svg.
  • Includes a prefers-reduced-motion rule for its animation.

React + TypeScript + Tailwind CSS

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

  • Configurable through 9 props: title, progress, summary, metadata, details, expanded, defaultExpanded, onExpandedChange, className.
  • Uses React hooks: useId, useState.
  • ARIA in the markup: aria-expanded, aria-controls.
  • HTML elements used: dl, button, svg.
  • Includes a prefers-reduced-motion rule for its animation.
View all Card Components (10)