Card 04
An editorial content card with strong headline hierarchy, metadata, media, and responsive reading affordance.
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 04
Card 04 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
- article card
- cards
- blog
- editorial
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: Card04.jsx, Card04.types.ts, Card04.tailwind.css
- Configurable through 11 props: category, title, excerpt, author, readingTime, date, imageSrc, imageAlt, authorAvatarSrc, href and 1 more.
- Renders without React state or effects.
- HTML elements used: article, img, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm.
- The demo imagery is loaded from Unsplash.