Skip to content

pantoken-root / formats/icons/src / PantokenIcon

Schnittstelle: PantokenIcon ​

Beta

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

Eigenschaften ​

name ​

name: string

Beta

Der Icon-Name, ohne das Präfix --instui-icon- (z. B. arrow-left).


dataUri ​

dataUri: string

Beta

Der …url('data:image/svg+xml;utf8,…')-Wert, wie er im IR gespeichert ist.


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

Das SVG-viewBox, falls bekannt.


bidirectional ​

bidirectional: boolean

Beta

Ob das Icon in Rechts-nach-Links-Kontexten horizontal gespiegelt wird.


source? ​

optional source?: "custom" | "lucide"

Beta

Der Ursprung der Glyphe.