Blog Card Three

A minimal card with title, small rounded thumbnail, and author + read time. Perfect for compact lists.

Examples

Thumbnail on the right

Thumbnail on the left

Installation

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

Props

PropTypeDefaultDescription
hrefstringURL for whole card link.
titlestringCard title; used for aria-label when linked.
thumb{ src: string; alt?: string }Small square thumbnail.
meta{ author?: {name:string; avatar?:string; href?:string}; readLabel?: string }Author + reading time.
onLike / onBookmark() => voidAction handlers.
variant'thumb-right' | 'thumb-left''thumb-right'Layout of thumbnail.
className / *ClassNamestringSlot overrides for title, thumb, meta, actions.