Svg
Skill software-mansion-labs/skills/skills/react-native-best-practices/references/svg
Software Mansion's best practices for SVG rendering in React Native apps using React Native SVG. Use when rendering vector graphics, icons, charts, illustrations, or any SVG content. Trigger on: 'react-native-svg', 'SVG', 'vector graphics', 'render icon', 'draw shape', 'chart', 'path', 'Svg component', 'SvgUri', 'SvgXml', 'SvgCss', 'FilterImage', 'SVG filter', or any request to display scalable vector content in a React Native app.From its SKILL.md
npx -y skills add software-mansion-labs/skills --skill svgAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.0 KB, as published. Nobody here has run it
SVG
Software Mansion's production SVG patterns for React Native using React Native SVG.
For API details on specific components and props, webfetch https://github.com/software-mansion/react-native-svg/blob/main/USAGE.md
References
| File | When to read |
|---|---|
when-to-use.md | Deciding between react-native-svg, expo-image, @expo/vector-icons, Skia, or Lottie |
svg.md | Installing react-native-svg; loading SVGs from URIs, XML strings, or files; filters; touch events; performance considerations; known issues |