Skip to content

pantoken-root / formats/icons/src / PantokenIcon

Interface: PantokenIcon ​

Bèta

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

Eigenschappen ​

name ​

name: string

Bèta

De pictogramnaam, zonder het voorvoegsel --instui-icon- (bijv. arrow-left).


dataUri ​

dataUri: string

Bèta

De waarde …url('data:image/svg+xml;utf8,…'), zoals opgeslagen in de IR.


svg ​

svg: string

Bèta

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

Bèta

De SVG viewBox, indien bekend.


bidirectional ​

bidirectional: boolean

Bèta

Of het pictogram horizontaal wordt gespiegeld in rechts-naar-links contexten.


source? ​

optional source?: "custom" | "lucide"

Bèta

De oorsprong van het glyf.