Project Card
A sophisticated card component for showcasing projects with 3D hover effects.
Installation
Full Setup guideInstall the component automatically via Shadcn CLI.
npx shadcn@latest add https://www.grettech.com/api/registry/project-cardProps
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | Optional CSS classes to apply. |
project | object | - | The project data object. |
imageAs | React.ElementType | "img" | Custom component to use for rendering images, like next/image Image. |
linkAs | React.ElementType | "a" | Custom component to use for rendering links, like next/link Link. |
...props | React.HTMLAttributes<HTMLDivElement> | - | Accepts all standard HTML attributes (id, style, etc). |
