StorybookGitHub

Icons

A typed icon component with size variants and a custom icon set.

Installation

npx shadcn@latest add https://reactdocs.canceydejean.dev/r/icons.json

Usage

Use Icon with a typed icon key and optional size. Browse the set with IconGallery, or import individual SVGs from icon-set.

import Icon from "@/components/icons/icon/icon";

export function Example() {
  return <Icon icon="nav-arrow" size="md" />;
}