MeaChat
Docs / Project Card

Project Card

The ProjectCard is the core of the portfolio section. It features a hover reveal effect for details and tags.

Usage

import ProjectCard from '~/components/blog/ProjectCard.astro';

<ProjectCard
  title="Project Title"
  description="Brief description."
  image="https://example.com/image.jpg"
  tags={['React', 'Astro']}
  slug="project-detail"
/>

Example

Props

PropTypeDefaultDescription
titlestringRequiredThe name of the project.
descriptionstringRequiredA brief overview of the project.
imagestringRequiredURL of the project’s cover image.
tagsstring[]RequiredArray of technology or category tags.
slugstringRequiredURL slug for the project detail page.