Get a Tabler icon
get_iconFetch a specific Tabler icon as SVG, React, Vue, Svelte, webfont class, or data URI, with optional size, color, and stroke adjustments.
Instructions
Get a Tabler icon by exact name in the requested format: raw SVG (customizable size/stroke/color), React, Vue, Svelte, webfont class, or data URI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact icon name, e.g. 'heart', 'shopping-cart' (find names with search_icons) | |
| size | No | Size in px (default 24) | |
| color | No | CSS color to replace currentColor, e.g. '#d63939' or 'var(--tblr-primary)' | |
| style | No | Icon style (default: outline) | |
| format | No | Output format (default: svg) | |
| strokeWidth | No | Stroke width for outline style (default 2) |