Back to Plugins

svg-code generator for React and React Native
Convert SVG to React or React Native Component
Plugin Preview
About this plugin
Instantly convert your Figma designs into production-ready code
This plugin streamlines the handoff process by generating clean, optimized React and React Native components directly from your selected Figma frames. Designed specifically for Dev Mode, it handles the tedious work of syntax conversion so you can focus on building.
Features
- ⚛️ React Components: Generates functional components with automatic prop spreading (`{...props}`), making your icons and illustrations immediately reusable.
- 📱 React Native Support: Automatically converts SVGs to `react-native-svg` components, handling all necessary imports and tag replacements (`<Svg>`, `<Path>`, etc.).
- Transforms `class` to `className`.
- Parses inline `style` strings into React style objects.
- ⚡️ Dev Mode Integration: Works seamlessly within the Inspect panel. Just select a layer and grab the code.
- 🎯 Multiple Formats: Switch instantly between React, React Native, and raw SVG output using the dropdown menu.
Plugin Details
| Version | 2 |
|---|---|
| Created | November 25, 2025 |
| Last Updated | November 29, 2025 |
| Category | Software development |
| Creator | Mohammed Abid Nafi |
| Stats | 2 installs, 3 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:dev
- Allowed Domains:
- none
- Codegen Languages:
- SVG(svg)
More Like This
Discover other plugins in the Software development category.
Figma to Code (HTML, Tailwind, Flutter, SwiftUI)
Code Conversion Made Easy: Figma to Web & Apps
Builder.io - Figma to Code & AI Apps (React, Vue, Tailwind, etc)
Export designs to clean, responsive code or turn Figma screens into AI apps and prototypes.
SkewDat
Skew any layer or group with all layers preserved to edit.