Skip to content

pantoken / formats/icons/src / PantokenIcon

Інтерфейс: PantokenIcon

Бета

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

Властивості

name

name: string

Бета

Назва піктограми, без префікса --instui-icon- (наприклад, arrow-left).


dataUri

dataUri: string

Бета

Значення url('data:image/svg+xml;utf8,…'), як збережено в IR.


svg

svg: string

Бета

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

Бета

SVG viewBox, якщо відомо.


bidirectional

bidirectional: boolean

Бета

Чи віддзеркалюється піктограма горизонтально в контекстах справа-наліво.


source?

optional source?: "custom" | "lucide"

Бета

Походження гліфа.