Convert SVG Fill to Color Prop React Native

Turn hardcoded fill into a React Native color prop

Attrs to RN props? Attrs to RN propsCamelCase attrs? CamelCase attrs

FAQ

Quick answers

How do I convert SVG fill into a React Native color prop?
Paste SVG and click Fill to color prop to prepare prop-driven coloring.
Should I use currentColor instead of a color prop?
currentColor suits web-like inheritance; color props are clearer in many RN icon APIs.
Need size props alongside color?
Continue with SVG Icon With Size Props React Native.
Does fill-to-color conversion upload?
No — free, local.
Attrs to RN props → CamelCase attrs → RN currentColor → RN size props →
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