---
url: /api/formats/icons/src/interfaces/PantokenIcon.md
---
[pantoken-root](../../../../index.md) / [formats/icons/src](../index.md) / PantokenIcon

# Interface: PantokenIcon

Beta

A pantoken icon, derived from an `<image>` token.

## Properties

### name

> **name**: `string`

Beta

The icon name, without the `--instui-icon-` prefix (e.g. `arrow-left`).

***

### dataUri

> **dataUri**: `string`

Beta

The `url('data:image/svg+xml;utf8,…')` value, as stored in the IR.

***

### svg

> **svg**: `string`

Beta

The decoded inline SVG markup, stripped of `<script>` elements and event-handler attributes.
Originates from the vendored IR (pinned upstream). Safe for trusted injection contexts;
consumers should not treat this as safe for injection into attacker-controlled HTML.

***

### viewBox?

> `optional` **viewBox?**: `string`

Beta

The SVG `viewBox`, when known.

***

### bidirectional

> **bidirectional**: `boolean`

Beta

Whether the icon flips horizontally in right-to-left contexts.

***

### source?

> `optional` **source?**: `"custom"` | `"lucide"`

Beta

The glyph origin.
