Skip to content
Binary Dreams UI Kit reference Icon

Icon

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

Loading interactive example

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

API

MemberTypeKindRequiredDefault
colorstringpropNoundefined
glyphIconGlyphpropYes
mirroredbooleanpropNofalse
sizenumber | stringpropNo18
weightIconWeightpropNo'regular'

Examples

Source

Loading source