Skip to content

pantoken / formats/icons/src / PantokenIcon

Gränssnitt: PantokenIcon

Beta

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

Egenskaper

name

name: string

Beta

Ikonnamnet, utan prefixet --instui-icon- (t.ex. arrow-left).


dataUri

dataUri: string

Beta

Värdet url('data:image/svg+xml;utf8,…'), som lagras i IR:n.


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, om det är känt.


bidirectional

bidirectional: boolean

Beta

Om ikonen speglas horisontellt i höger-till-vänster-kontexter.


source?

optional source?: "custom" | "lucide"

Beta

Glyfens ursprung.