Skip to content

pantoken-root / formats/icons/src / PantokenIcon

インターフェース: PantokenIcon ​

ベータ

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

プロパティ ​

name ​

name: string

ベータ

アイコン名。--instui-icon- プレフィックスを除いた形式(例: arrow-left)。


dataUri ​

dataUri: string

ベータ

IR に格納されている …url('data:image/svg+xml;utf8,…') の値。


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

ベータ

右→左(RTL)環境でアイコンが水平方向に反転するかどうか。


source? ​

optional source?: "custom" | "lucide"

ベータ

グリフの起点。