Skip to content
Binary UIKit reference Stable

Icon

Renders a phosphor-svelte glyph component passed as `glyph`.

Use Icon to render a Phosphor glyph when text alone does not communicate the action or subject quickly enough.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
colorstringpropNoundefined
glyphIconGlyphpropYes
mirroredbooleanpropNofalse
sizenumber | stringpropNo18
weightIconWeightpropNo'regular'

Examples

Source

Loading source