Skip to content

pantoken-root / formats/icons/src / PantokenIcon

Διεπαφή: PantokenIcon ​

Βήτα

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

Ιδιότητες ​

name ​

name: string

Βήτα

Το όνομα του εικονιδίου, χωρίς το πρόθεμα --instui-icon- (π.χ. arrow-left).


dataUri ​

dataUri: string

Βήτα

Η τιμή …url('data:image/svg+xml;utf8,…'), όπως αποθηκεύεται στο IR.


svg ​

svg: string

Βήτα

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

Βήτα

Το SVG viewBox, όταν είναι γνωστό.


bidirectional ​

bidirectional: boolean

Βήτα

Εάν το εικονίδιο αναστρέφεται οριζόντια σε περιβάλλοντα δεξιά‑προς‑αριστερά.


source? ​

optional source?: "custom" | "lucide"

Βήτα

Η προέλευση του γλυφικού.