Last updated on October 2, 2025
Stroke
Usage
React Native does not have SVG components but universal SVG support can be achieved with 3rd party libraries such as react-native-svg. While these docs use react-native-svg, the concept applies to all libraries.
You will need to cssInterop() on these components to properly style them for native.
Example usage
Compatibility
| Class | Support |
|---|---|
| โ Full Support |
| โ Full Support |
| ๐ Web only |
| ๐ Web only |
Legend
Class
-{n} Supports values from theme
-[n] Supports arbitrary values
Icon
โ Full support
โ๏ธ Partial support on native
๐งช Experimental support on native
๐ฑ Native only
๐ Web only