🎥 Make videos programmatically with React
Update figma.md
Jonny Burger191284b62c52
diff --git a/packages/docs/docs/figma.md b/packages/docs/docs/figma.mdindex 1cbdd3336c..479b47fccc 100644--- a/packages/docs/docs/figma.md+++ b/packages/docs/docs/figma.md@@ -9,13 +9,13 @@ You can export a design from Figma as an SVG file and import it as a React compoWe are going to use a copy of [Streamline's Vector illustrations](https://www.figma.com/community/file/1118919399684035468).-+## Grouping vector elements in FigmaIf not already done, group the items you want to export together or frame them in Figma.-+Groups will be represented as `<g>` elements in SVG and if you want to animate multiple items together, it can be useful to group them.@@ -23,15 +23,15 @@ Groups will be represented as `<g>` elements in SVG and if you want to animate mYou can export any design by copying it as SVG markup — you can do that by right-clicking on the design itself and selecting the **Copy/Paste as** option.-+Next, you need to convert the SVG into a React component. Often, you can just paste the SVG into React markup and it will work.Alternatively, use the [SVGR playground](https://react-svgr.com/playground/) to reliably convert SVG into React components.-## Using the file in Remotion.+## Importing SVG in Remotion-Paste the component into a Remotion project and register a [`<Composition>`](/docs/composition).+Paste the component into a Remotion project and [register a `<Composition>`](/docs/composition).An example can be found in this [repository](https://github.com/kaf-lamed-beyt/remo-sample).