Skip to content
R

react-native-svg

SVG library for react-native

by jake7Free

#20in UI Libraries
0In stores

Description

react-native-svg is an open-source library from Software Mansion that adds SVG drawing support to React Native apps. It renders SVG shapes a…

Highlights

  • Renders most SVG elements such as rect, circle, line, polyline, polygon and groups
  • Converts existing SVG code into React Native components
  • Runs on iOS, Android, macOS and Windows, plus React Native Web
  • Works with Expo or the React Native CLI
  • Supports Fabric from version 13.0.0 with a version compatibility table

Ratings & Reviews

No ratings yet

Be the first to rate react-native-svg.

People also visit

A

@amazon-devices/react-native-svg

SVG library for react-native

UI Libraries
Launch
R

React Native SVG Transformer

Import SVG files in your React Native project the same way

Design
Launch
R

react-native-vector-icons

Customizable icon sets with support for styling and image sources

UI Libraries
Launch
R

react-native-skia

High-performance 2D graphics with the Skia rendering engine

UI Libraries
Launch
R

react-native-circular-progress

React Native component for creating animated, circular progress

UI Libraries
Launch
R

@ridemountainpig/svgl-react

Implementation of the Svgl for React applications

UI Libraries
Launch

react-native-svg FAQ

What does react-native-svg do?

It lets React Native apps draw SVG graphics, so icons and vector artwork can be used in a mobile app as components.

How do I install it with Expo?

Install the JavaScript package with the command shown in the Expo section of the README. The Expo client app already includes the native code.

How do I install it in a React Native CLI project?

Install the library from npm or yarn, then link the native code as the README describes.

Which React Native versions are supported?

The README has a table that matches each react-native-svg release to a React Native range, and a separate table for Fabric support from version 13.0.0.

Does it work on the web?

The library includes a compatibility layer for React Native Web and plain React web projects.

Where can I report a problem?

Check the latest version first, then open an issue with your App.js file, the platforms you tested and the output of the command the README lists.

What are the best react-native-svg alternatives?

Popular alternatives to react-native-svg include @amazon-devices/react-native-svg, react-native-vector-icons and react-native-skia. See all react-native-svg alternatives

Developer Stuff

Badges