Skip to content

pantoken / formats/icons/src / 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.


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.