Selector

selector tag

Usage

Select this component to render a selector element in your HTML DOM.

Requirements

To use a selector you will require a data source with a list of elements to display, you can get these values from a script, a query, or a variable.

Setup

  1. Select the layer or element you want to render as a selector in Figma

  2. In the plugin navigate to the Component section

  3. Set the type to selector

  4. Optionally set the attributes of the component

  5. Compile and publish your project

Rendered Element

<selecor> ... </selector>

Last updated

Was this helpful?