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
hrefstring—Optional link for the whole card.
image{ src: string; alt?: string }—Cover image (top).
titlestring—Title text.
excerptstring—Optional description.
author{ name: string; avatar?: string; href?: string }—Author block in footer.
dateISO / dateLabelstring—Formatted date display & machine date.
variant'attached' | 'flush''attached'Whether the panel overlaps the image.
*ClassName propsstring—Slot overrides for image/panel/title/excerpt/footer.