Frameworks
React
Works with any React setup on Rspack, Rsbuild or webpack 5. Use the rule from Getting started and render icons with <use>:
The repository has a React + Rspack demo (examples/react-rspack) and a React + webpack 5 demo (examples/react-webpack).
Vue + Rspack
A Vue 3 + extract mode demo is in examples/vue-rspack-extract.
Next.js (with next-rspack)
Rsbuild
See Getting started. The Rsbuild plugin replaces Rsbuild's built-in SVG rule, see the FAQ.