Skip to content

pantoken / formats/icons/src / PantokenIcon

Grensesnitt: PantokenIcon

Beta

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

Egenskaper

name

name: string

Beta

Ikonets navn, uten --instui-icon--prefikset (f.eks. arrow-left).


dataUri

dataUri: string

Beta

Verdien for url('data:image/svg+xml;utf8,…'), slik den er lagret i IR-en.


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

SVG viewBox, når den er kjent.


bidirectional

bidirectional: boolean

Beta

Om ikonet speiles horisontalt i høyre-til-venstre-kontekster.


source?

optional source?: "custom" | "lucide"

Beta

Glyfens opprinnelse.