SVG String to React Native Component

Turn an SVG string into a React Native component

SvgXml RN? SvgXml RNInline SVG to RN? Inline SVG to RN

FAQ

Quick answers

How do I convert an SVG string into a React Native component?
Paste the string and click Convert SVG string to generate a component.
When should I keep using SvgXml instead of compiling a component?
Keep SvgXml for truly dynamic strings; compile when the asset is stable.
Need inline SVG mapped to react-native-svg tags?
Open Inline SVG to React Native SVG.
Is SVG-string conversion free?
Yes. Free browser tool.
SvgXml RN → Inline SVG to RN →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina