SVG

svg HTML tag

Overview

Uncodie will handle SVGs automatically from your Figma project, if you want to use the tag manually for optimization inside a repeat or other case scenarios you can do so using the SVG component.

Setup

  1. Select the layer or element you want to render as an svg in Figma

  2. In the plugin navigate to the Component section

  3. Set the type to svg

  4. Optionally set the attributes of the component

  5. Compile and publish your project

Usage

Select this component to render an svg element in your HTML DOM.

Rendered Element

<svg> ... </svg>

Last updated

Was this helpful?