Skip to content

🎥 Make videos programmatically with React

Update figma.md

Jonny Burger191284b62c52
diff --git a/packages/docs/docs/figma.md b/packages/docs/docs/figma.md
index 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 compo
We are going to use a copy of [Streamline's Vector illustrations](https://www.figma.com/community/file/1118919399684035468).
-![Thumbnail](/static//img/export-figma/banner.png)
+![Thumbnail](/img/export-figma/banner.png)
## Grouping vector elements in Figma
If not already done, group the items you want to export together or frame them in Figma.
-![figma-grouping](/static/img/export-figma/figma-grouping.gif)
+![figma-grouping](/img/export-figma/figma-grouping.gif)
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 m
You can export any design by copying it as SVG markup &mdash; you can do that by right-clicking on the design itself and selecting the **Copy/Paste as** option.
-![exporting as SVG](/static/img/export-figma/copy-as-svg.png)
+![exporting as SVG](/img/export-figma/copy-as-svg.png)
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).