Skip to content

pantoken-root / formats/icons/src / PantokenIcon

Interfaz: PantokenIcon ​

Beta

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

Propiedades ​

name ​

name: string

Beta

El nombre del icono, sin el prefijo --instui-icon- (p. ej., arrow-left).


dataUri ​

dataUri: string

Beta

El valor …url('data:image/svg+xml;utf8,…'), tal como se almacena en el 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

El viewBox SVG, cuando esté disponible.


bidirectional ​

bidirectional: boolean

Beta

Si el icono se invierte horizontalmente en contextos de derecha a izquierda.


source? ​

optional source?: "custom" | "lucide"

Beta

El origen del glifo.