Skip to content

Icon

Material Symbols Outlined variable-font icons. name takes a Material Symbols icon name (underscore ligature).

Font is provided by the host app

The ligature font requires the host to declare @font-face 'Material Symbols Outlined' (this site and the workspace both use a subset file of ~180KB). With a subset font, new icon names must be added to the subset list and the font regenerated, otherwise the icon renders as raw English text.

Basic usage

Size & weight

size drives both font size and optical size (opsz); weight 100–700.

Fill

fill switches to solid fill — for selected/active states. Color inherits from color.

描边 实心 选中态

API

Props

NameTypeDefaultDescription
namestringMaterial Symbols icon name (required)
sizenumber20size in px (also sets opsz)
fillbooleanfalsesolid fill
weightnumber400weight 100–700