Skip to content

Shaped icon

Pro

An icon in a circle or an M3 Expressive shape, in a colour role's container colours: emphasis for steps, features and empty states. Not an M3 component (@windmorph/react-pro).

import { ShapedIcon } from '@windmorph/react-pro';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Purpose

An icon in a circle or an M3 Expressive shape (a cookie, a flower, a soft burst), in a colour role's container colours: emphasis for steps, features and empty states. It is not an M3 component, so it comes from @windmorph/react-pro, built from M3's shapes and colour roles. EmptyState draws its icon with it.

It is decoration, not a control: for something to press use an IconButton, and for a person or business an Avatar.

When not to use

For something to press use an Icon button; for a person or business, an Avatar.

See also

  • Empty state: Fills a region with nothing to show: no posts yet, no results, coming soon, or couldn't load with a retry. Not an M3 component (@windmorph/react-pro).
  • Avatar: A picture with an initials or icon fallback, badges, 35 Expressive shapes and groups. Not an M3 component (@windmorph/react-pro).
  • Icon button: A compact icon-only action; requires an accessible name.