CamelCase SVG Attributes for React Native

Rewrite SVG attributes into camelCase for React Native

Attrs to RN props? Attrs to RN propsRN currentColor? RN currentColor

FAQ

Quick answers

How do I camelCase SVG attributes for React Native?
Paste SVG and click CamelCase attributes to rewrite names like stroke-width to strokeWidth.
Why does React Native need camelCase?
JSX props are camelCased; hyphenated SVG attributes are invalid as JS identifiers.
Want a broader attribute-to-prop conversion?
Use Convert SVG Attributes to React Native Props.
Does camelCasing upload my SVG?
No — free, local.
Attrs to RN props → RN currentColor → Fill to color prop → 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