@svg-use/react

v0.4.3
Tools and bundler plugins for loading SVG images via use[href], for use in components.
loader performance plugin rollup svg vite webpack

api-docs

typedoc && prettier api-docs --write

api-docs:watch

typedoc --watch

build

pnpm build:lib

build:lib

tshy

build:lib:watch

tshy --watch

check-types

tsc --noEmit

check-types:watch

tsc --noEmit --watch

dev

npm-run-all --parallel build:lib:watch test

lint

npm-run-all "lint:*"

lint:prettier

pnpm prettier --check .

lint:scripts

eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0

test

vitest
npm i @svg-use/react

Metadata

  • MIT
  • Whatever
  • Fotis Papadogeorgopoulos
  • released 10/12/2024

Downloads

Maintainers