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"

Бета

Источник глифа.