Skip to content

pantoken-root / packages/core/src / TokenMeta

Interface: TokenMeta ​

Beta

Non-value metadata attached to a Token.

Properties ​

kind? ​

optional kind?: "icon"

Beta

Marks an icon token (its syntax is "<image>").


style? ​

optional style?: "Custom" | "Line" | "Solid"

Beta

The source style of an icon glyph.


viewBox? ​

optional viewBox?: string

Beta

The SVG viewBox of an icon glyph.


bidirectional? ​

optional bidirectional?: boolean

Beta

Whether an icon flips horizontally in right-to-left contexts.


source? ​

optional source?: "custom" | "lucide"

Beta

The origin of an icon glyph.


deprecated? ​

optional deprecated?: object

Beta

Present on a compatibility-shim token (from a DeprecationEntry).

replacement? ​

optional replacement?: string

deprecatedIn? ​

optional deprecatedIn?: string

removeIn? ​

optional removeIn?: string

note? ​

optional note?: string