IconDefinition
Defined in: src/render/icon-registry.ts:5
A registered icon: its name, SVG source, fallbacks, and optional vector outline.
Properties
Section titled “Properties”
optionalglyf?:object
Defined in: src/render/icon-registry.ts:18
Vector outline for the terminal Glyph Protocol (fmt=glyf), in font units
(Y-up, baseline at y=0). Present only for icons sourced from a TrueType
font (Seti); SVG-only icons (heroicons) omit it and fall back to the
graphics protocol / text fallback. See encodeSimpleGlyf.
contours
Section titled “contours”contours:
GlyfContour[]
unitsPerEm
Section titled “unitsPerEm”unitsPerEm:
number
name:
string
Defined in: src/render/icon-registry.ts:7
Unique icon name (referenced by <Icon name> / iconRegistry.get).
svg:
string
Defined in: src/render/icon-registry.ts:9
Raw SVG markup.
textFallback
Section titled “textFallback”textFallback:
string
Defined in: src/render/icon-registry.ts:11
Unicode/emoji shown when no graphics protocol is available.