React Native SVG is an SVG rendering library for React Native, React Native Web, and web React projects that enables developers to use SVG graphics across iOS, Android, macOS, Windows, and web platforms.
The library solves the problem of rendering scalable vector graphics in React Native applications, which lack native SVG support. It works by providing React components that map to SVG elements like Rect, Circle, Line, Polyline, Polygon, and Group, allowing developers to write SVG markup in a React-native-friendly way. The tool includes conversion utilities to transform standard SVG code into react-native-svg components, reducing the friction of adopting SVG in mobile projects.
Developers should choose this library if they need consistent SVG rendering across multiple platforms from a single codebase. It suits projects targeting both mobile and web that require vector graphics, particularly those already using Expo, which includes the native code pre-installed. The tool is especially valuable for teams wanting to avoid platform-specific graphics implementations and maintain a unified component library across React Native and web surfaces.
The project maintains active support for current React Native versions, with documented compatibility across a wide range of releases. The tool has evolved to support Fabric, React Native's new rendering system, with explicit version requirements documented for different React Native releases. The project provides troubleshooting guidance and requires reproducible test cases in clean projects before accepting issue reports, indicating a structured approach to managing bug reports and feature requests.