Jiggicons

Install

A package for the free icons, the CLI for any of them.

Free icons from npm

Install the package for your framework. It includes the motion and sound runtime and the 80 free icons.

npm install jiggicons-react

Use jiggicons-vue for Vue and Nuxt, jiggicons for plain JavaScript or the <jigg-icon> element, and jiggicons-static for SVG files.

Any icon with the CLI

The CLI copies icons into your project as small source files, like shadcn/ui does with components. It works out from package.json whether you use React, Vue or plain JavaScript, and whether you use TypeScript.

npx jiggicons add bell heart

Free icons need no key. For the rest, run npx jiggicons login with the licence key from your purchase. See Licence keys.

What gets written

components/jiggicons/bell.ts
'use client';
// Bell (bell) — Jiggicons, https://jiggicons.vercel.app
import { createJiggicon } from 'jiggicons-react';

export const Bell = createJiggicon({ id: 'bell', name: 'Bell', svg: { … }, motion: { … } });
export default Bell;

An index.ts next to it exports every icon you have added, so you can import them all from one place.

Requirements

  • React 18 or later, or Vue 3.3 or later. The plain runtime has no dependencies.
  • Any browser with Web Animations, which is every current browser. Sound uses Web Audio.
  • Node 18 or later for the CLI.