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"

베타

글리프의 원점.