Skip to content

pantoken / formats/icons/src / PantokenIcon

Atanga: PantokenIcon

Beta

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

Ngā Rawa

name

name: string

Beta

Te ingoa o te tohu, me te kore o te kupu whakataki --instui-icon- (hei tauira arrow-left).


dataUri

dataUri: string

Beta

Te uara url('data:image/svg+xml;utf8,…'), pēnei i te rokiroki i roto i te 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

Te SVG viewBox, mēnā kua mōhiotia.


bidirectional

bidirectional: boolean

Beta

Mehemea ka huri te tohu ā-tauwāhi (horizontally) i ngā horopaki e huri ana te ahunga mai i te taha matau ki te taha mauī.


source?

optional source?: "custom" | "lucide"

Beta

Te takenga o te kiripuaki.