Skip to content

pantoken / formats/icons/src / PantokenIcon

Interface: PantokenIcon

Beta

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

Propriedades

name

name: string

Beta

O nome do ícone, sem o prefixo --instui-icon- (por exemplo, arrow-left).


dataUri

dataUri: string

Beta

O valor url('data:image/svg+xml;utf8,…'), conforme armazenado no 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

O viewBox do SVG, quando conhecido.


bidirectional

bidirectional: boolean

Beta

Se o ícone é invertido horizontalmente em contextos direita-para-esquerda.


source?

optional source?: "custom" | "lucide"

Beta

A origem do glifo.