Skip to content
Library

Blog card

A post: image, category, title carrying the link, excerpt, date and reading time. Built for loops: map its props from a posts loop and every post renders the same way; the whole card is the click target.

ComponentBlog

Live preview

Variant
Scheme
Width
Motion
etchpress.com/library/blog-card
Blog card

What you can build with it

A blog archive fed by a posts loop. A row of three latest posts on a home page. Related posts at the end of an article.

Props

image (image URL); alt (text); category (text); title (text); excerpt (text); date (text, shown as written); datetime (text, ISO for the time element); readTime (text); href (link); layout (select: stacked, horizontal); size (select: medium, small)

States shown

Hover and focus-within (lift, image scales, arrow slides); keyboard focus ring on the card. Reduced motion: no lift, no scale.

How to change it

Content and options are 11 props in the component's settings panel. Colour, type, spacing and radius follow your Automatic.css settings, so a change to the site's palette or scale changes this too. For anything else, edit the classes in the Style Manager, starting with .blog-card, .blog-grid, .null.

ACSS tokens used

white, neutral-ultra-light, text-dark, text-dark-muted, primary-dark, h4, text-s, text-xs, space-xs, space-s, space-m, radius, box-shadow-1, box-shadow-2, focus tokens, transition

ACSS requirements

ACSS 4 defaults. In a loop, map title, excerpt, permalink, featured image and date from the post.

Version history

Version 1.1.0, September 30, 2026: Family contract: spacing on the shared card variables (–card-padding, –card-gap, –card-gap-tight, –card-radius) with a size prop, nested corners concentric, part names shared across the card family (blog card: __body is now __content). Version 1.0.0, September 18, 2026: First release.

Tested with

Etch 1.6.7 and ACSS 4.0.1. Version 1.1.0.

Lifetime members

Members copy this straight into Etch, ready to paste.

Used an earlier version? How to update it

Get lifetime access
Other builders

Want EtchPress for Bricks or the block editor?

Everything here is made for Etch. Pick the builder you use and leave your email: we write once, when EtchPress works there.

This field is required.