Icon button

Icon buttons and icon toggle buttons (COMPONENT_SPEC §2). Standard and outlined take the surrounding content color, as in Compose; --vibrant uses the token colors. The grids are plain HTML with m3e-css classes.

Sizes and widths

Variants

Toggle

Selected icon toggles fill the icon (FILL 1) and change shape.

React

<IconButton>; with isSelected or defaultSelected it is a toggle.