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"

เบต้า

ที่มาของ glyph.