Blog Card Four

Cover image on top, with a white panel overlapping the bottom edge. Great for article teasers.

Examples

Default (attached panel)

Flush layout

Installation

npx shadcn-extras@latest add blog-card-four

Props

PropTypeDefaultDescription
hrefstringOptional link for the whole card.
image{ src: string; alt?: string }Cover image (top).
titlestringTitle text.
excerptstringOptional description.
author{ name: string; avatar?: string; href?: string }Author block in footer.
dateISO / dateLabelstringFormatted date display & machine date.
variant'attached' | 'flush''attached'Whether the panel overlaps the image.
*ClassName propsstringSlot overrides for image/panel/title/excerpt/footer.