Skip to content

Repo Card

GitHub-style repository card with owner/name, description, language, stars, forks, last update and topics. The whole card is one link.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/repo-card
First time? Add the @portfolio-kit registry to components.json
components.json
{
  "registries": {
    "@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
  }
}

Usage

Examples

Grid

Pinned repositories in a two-column grid, including template and archived badges.

Compact

Every detail is optional. Drop the owner, topics and dates for a slim list in a sidebar or bento tile.

API Reference

Used in