Skip to content

pantoken-root / formats/icons/src / PantokenIcon

Interfejs: PantokenIcon ​

Beta

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

Właściwości ​

name ​

name: string

Beta

Nazwa ikony, bez prefiksu --instui-icon- (np. arrow-left).


dataUri ​

dataUri: string

Beta

Wartość …url('data:image/svg+xml;utf8,…'), tak jak jest przechowywana w 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

SVG viewBox, jeśli jest znane.


bidirectional ​

bidirectional: boolean

Beta

Czy ikona jest odwracana poziomo w kontekstach pisanych od prawej do lewej.


source? ​

optional source?: "custom" | "lucide"

Beta

Pochodzenie glifu.