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.

Playground

Code

import { cookie9SidedShape } from '@windmorph/react/primitives';// Use your own icon components.import { StarIcon } from './icons';import { ShapedIcon } from '@windmorph/react-pro'; <ShapedIcon  size="lg"  color="primary"  shape={cookie9SidedShape}>  <StarIcon /></ShapedIcon>

Examples

Steps

Sizes and shapes

Colours