Atelier UI

Search components…

Search components…

Blog Card

Article card with a gradient cover, category chip, author and read time, using a stretched link with hover lift and arrow nudge.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

BlogCardProps

Also accepts all props of Omit<React.ComponentProps<"article">, "title">

PropTypeDefaultDescription
title* requiredstring——
excerpt* requiredstring——
category* requiredstring——
author* requiredstring——
readTime* requiredstring——
hrefstring"#"—
coverClassNamestring"from-indigo-500 via-violet-500 to-pink-500"Tailwind gradient utilities for the cover, e.g. "from-indigo-500 to-pink-500"

Install

$ npx shadcn@latest add https://chromotion.dev/r/blog-card.json

More like this