Skip to content

Commit 98ff355

Browse files
committed
README: move framework positioning into Frameworks section
1 parent 4860803 commit 98ff355

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,11 @@ SVGInject works best when you don't have a build step - or don't want one for yo
6262

6363
SVGInject is a runtime library. It loads and injects SVGs in the browser. No build step, no bundler, no Node.js required.
6464

65-
**What about React, Vue, Svelte?**
66-
SVGInject works great in frameworks too - see [Frameworks](#frameworks) for idiomatic setup patterns. For styling static SVGs with CSS, it's simpler and lighter than framework-specific packages. If you need loading states, error boundaries, or dynamic `src` changes, look at tools like [react-inlinesvg](https://github.com/gilbarbara/react-inlinesvg) - or build your own on top of SVGInject's [API](#api).
67-
68-
6965
## Frameworks
7066

71-
We don't ship framework-specific packages. SVGInject is one function - here's how to wire it up:
67+
SVGInject is simpler and lighter than framework-specific packages for styling static SVGs with CSS. We don't ship framework packages - SVGInject is one function, here's how to wire it up.
68+
69+
If you need loading states, error boundaries, or dynamic `src` changes, look at tools like [react-inlinesvg](https://github.com/gilbarbara/react-inlinesvg) - or build your own on top of SVGInject's [API](#api).
7270

7371
**React** - handler:
7472
```jsx

0 commit comments

Comments
 (0)