A blog or news card. The cover zooms and the arrow slides on hover.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | Article headline. | |
| excerpt | string | Short summary shown under the title. | |
| category | string | Category label shown over the cover. | |
| author | string | Author name shown in the footer. | |
| date | string | Publish date as display text. It is shown as given. | |
| readTime | string | Reading time as display text, such as "5 min read". | |
| href | string | "#" | URL the card links to. |
| cover | ReactNode | Replaces the built-in gradient cover. Should fill its box. | |
| tone | number | 0 | Picks the gradient when no cover is given. |
| className | string | Extra classes added to the outer element. |