Skip to content

pantoken / formats/icons/src / PantokenIcon

Interfaccia: PantokenIcon

Beta

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

Proprietà

name

name: string

Beta

Il nome dell'icona, senza il prefisso --instui-icon- (es. arrow-left).


dataUri

dataUri: string

Beta

Il valore url('data:image/svg+xml;utf8,…'), come memorizzato nell'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

L'viewBox SVG, quando noto.


bidirectional

bidirectional: boolean

Beta

Se l'icona viene ribaltata orizzontalmente nei contesti da destra a sinistra.


source?

optional source?: "custom" | "lucide"

Beta

L'origine del glifo.