Skip to content

Brand Icons

Dependency-free social/brand glyphs (GitHub, X, LinkedIn, Dribbble…) plus URL → brand detection.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/brand-icons
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

Detect from URL

detectBrand() maps a profile URL to its icon, so an “Elsewhere” list only needs the links you already have.

In Buttons

Drop a glyph into any button or link — it picks up the text color, so it works on solid and outline styles alike.

API Reference

Used in