1.4.5 • Published 1 month ago

tailwindcss-plugin-iconify v1.4.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

tailwindcss-plugin-iconify

NPM version Download monthly

Use any SVG icon powered by Iconify for Tailwind CSS, easy to use local icons and figma icons in particular.

Features

About Figma icons

TailwindCSS do not support async plugin for now, so figma-icon-sets extension you can not use directly.

But this library export related node scripts:

  • importFigmaIconSets to import IconSets from figma files
  • writeIconifyJSONs to write corresponding JSON files and SVG icons preview HTMLs
  • loadFigmaIconSets = importFigmaIconSets + writeIconifyJSONs

!IMPORTANT For better git auto merge, you should ignore icons.json and icons.html for code formatting.

Icon limitations

ref: iconify.design/import/figma

Motivation

I want to use tailwind autocomplete for Iconify icon sets and support local icon sets. related issue: iconify/iconify#241

Credits

Related

Build & Publish

  • npm run build
  • npx changeset
  • npx changeset version
  • git commit
  • npx changeset publish
  • git push --follow-tags

changeset prerelease doc

License

MIT License © 2022 Yuns

1.4.5

1 month ago

1.4.4

3 months ago

1.4.3

4 months ago

1.4.2

5 months ago

1.3.4

6 months ago

1.3.3

6 months ago

1.4.1

5 months ago

1.4.0

6 months ago

1.3.2

7 months ago

1.3.1

8 months ago

1.3.0

8 months ago

1.2.4

8 months ago

1.2.3

8 months ago

1.2.2

8 months ago

1.2.1

8 months ago

1.2.0

8 months ago

1.1.0

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago

0.0.1

9 months ago

0.0.1-next.4

9 months ago

0.0.1-next.3

9 months ago

0.0.1-next.2

9 months ago

0.0.1-next.1

9 months ago

0.0.1-next.0

9 months ago

0.0.0

9 months ago