@duskit/icons
v0.0.1
Published
[](https://github.com/dusk-network/duskit/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@dusk
Readme
@duskit/icons
SVG paths for common Dusk icons, exported as strings.
TOC
Dev environment
The dev environment assumes that you have at least Node.js v20.x installed. The LTS version is 20.12.1 at the time of writing.
This package is part of the Duskit monorepo. Please refer to the main README for monorepo usage, changeset management and installation of dependencies.
Installation and usage
Install it with your favourite package manager:
npm install @duskit/icons --saveImport and use the icons you need:
<script>
import { logo } from "@duskit/icons";
import { Icon } from "@duskit/components";
</script>
<Icon path={logo} />NPM scripts
npm run checks- runs all health checks (formatting and linting)npm run clean- removes thenode_modulesfoldernpm run format- fixes the formatting in all filesnpm run format:check- performs the formatting checknpm run lint- performs the linting checknpm run lint:fix- fixes, where possible, linting errors
