Card 10
A media-forward card with readable overlay content, responsive imagery, metadata, and restrained hover interaction.
Requirements
HTML, CSS
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
Typography: Inter, with a system sans-serif fallback.
About Card 10
Card 10 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
- media card
- cards
- gallery
- overlay
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- HTML elements used: article, img, svg.
- Includes a prefers-reduced-motion rule for its animation.
- The demo imagery is loaded from Unsplash.
React + TypeScript + Tailwind CSS
3 files: Card10.jsx, Card10.types.ts, Card10.tailwind.css
- Configurable through 8 props: category, title, metadata, ctaLabel, imageSrc, imageAlt, href, className.
- Renders without React state or effects.
- HTML elements used: article, img, svg.
- Includes a prefers-reduced-motion rule for its animation.
- The demo imagery is loaded from Unsplash.