svgworm docs

One command sets a project up. Then pick your framework.

pnpm add -D svgworm && pnpm svgworm init

With npm: npm install -D svgworm && npx svgworm init. React and Next.js also need @svgworm/react.

Set up

Reference

Coming from SVGR, @neodx/svg or a Vite plugin? Read the Comparison, with the numbers behind each claim. On SVGR, Migrate from SVGR rewrites your imports with one command.