Open source icons for your next Svelte project.
Visit iconslib.com for more info.
To install the package please run:
npm install @iconslib/svelte
# or for yarn
yarn add @iconslib/svelte
# or for pnpm
pnpm install @iconslib/svelte
Once you've forked this project and installed dependencies with npm install
(or pnpm install
or yarn
), run npm run prepare
to download and prepare icon packs.
Everything inside src/lib
is part of the library.
To build this library run:
npm run package
This will download and prepare all the icon packs.
packs
folderprepare.mjs
file into the newly created directoryprepare.mjs
files as an inspiration to create the script for the pack you are going to addscripts/prepare.mjs
filenpm run prepare <new-pack-slug>
package.json
(check other exports for an example)