Github

Project Card

A card component designed for displaying project information with status badges and action buttons.

E-commerce Platform

active

A full-featured e-commerce platform with payment integration and inventory management.

React
TypeScript
Node.js
"use client";

import { ProjectCard } from "@/registry/new-york-v4/components/project-card";

export function ProjectCardDemo() {
  return (
    <div className="flex flex-wrap gap-4">
      <ProjectCard
        title="E-commerce Platform"
        description="A full-featured e-commerce platform with payment integration and inventory management."
        status="active"
        tags={["React", "TypeScript", "Node.js"]}
        onViewDetails={() => console.log("View details")}
        onEdit={() => console.log("Edit")}
      />
    </div>
  );
}

Installation

pnpm dlx shadcn@latest add https://components.sudarshandhakal.com.np/r/project-card.json

Usage

import { ProjectCard } from "@/components/project-card"
<ProjectCard
  title="My Project"
  description="Project description goes here"
  status="active"
  tags={["React", "TypeScript"]}
  onViewDetails={() => console.log("View details")}
  onEdit={() => console.log("Edit")}
/>

Reference

Props

The ProjectCard component accepts the following props:

PropTypeDefault