get_embed_code
Generate embed code for Lordicon animated icons in HTML, React, or web component formats. Provide icon family, style, and index to receive customizable snippets.
Instructions
Generate ready-to-use embed code for a Lordicon icon in HTML, React, or web component format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Icon size in pixels | |
| index | Yes | Icon index number from search results | |
| style | Yes | Icon style | |
| colors | No | Color customization (e.g. 'primary:#121331,secondary:#08a88a') | |
| family | Yes | Icon family | |
| format | No | Output format | html |
| trigger | No | Animation trigger (hover, click, loop, loop-on-hover, morph, boomerang) | hover |