@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.
[back to TOC]
Installation and usage
Install it with your favourite package manager:
npm install @duskit/icons --save
Import and use the icons you need:
<script>
import { logo } from "@duskit/icons";
import { Icon } from "@duskit/components";
</script>
<Icon path={logo} />
[back to TOC]
NPM scripts
npm run checks - runs all health checks (formatting and linting)
npm run clean - removes the node_modules folder
npm run format - fixes the formatting in all files
npm run format:check - performs the formatting check
npm run lint - performs the linting check
npm run lint:fix - fixes, where possible, linting errors
[back to TOC]