Skip to content

pantoken / packages/model/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.


modify?

optional modify?: TokenModify

Beta

A colour modifier preserved for the native lineage (Style Dictionary).


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