The @vt7/tailwind-purge-icon
package is a tailwind plugin that converts iconify json to icon utility class.
Install package:
# npm
npm install @vt7/tailwind-purge-icon
# yarn
yarn add @vt7/tailwind-purge-icon
# pnpm
pnpm install @vt7/tailwind-purge-icon
# bun
bun install @vt7/tailwind-purge-icon
Import:
// ESM
import { purgeIconPlugin } from "@vt7/tailwind-purge-icon";
// CommonJS
const { purgeIconPlugin } = require("@vt7/tailwind-purge-icon");
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
Made with 💛
Published under MIT License.