About the Material 3 Expressive shapes

M3 Expressive, Google's 2025 update to Material Design, added a library of 35 shapes, from simple circles and pills to cookies, clovers, bursts and a heart. Android 16 apps use them for avatars, image crops, loading indicators and morphing buttons.

The shapes here are drawn with a JavaScript port of the androidx graphics-shapes RoundedPolygon code and the MaterialShapes definitions from Jetpack Compose, so the curves match Compose's shapes. Each one is normalized to a square, like MaterialShapes in Compose.

How to use it

  1. Pick a shape from the grid.
  2. Choose a color.
  3. Download the SVG or Android vector drawable, or copy the Compose, SVG, vector drawable or CSS mask code.

Questions

How do I use Material 3 Expressive shapes in Jetpack Compose?

Add androidx.compose.material3 1.4 or newer, opt in to ExperimentalMaterial3ExpressiveApi, and clip any composable with Modifier.clip(MaterialShapes.Cookie9Sided.toShape()). The shapes are RoundedPolygon objects, so you can also morph between two of them with Morph.

How many shapes are in the M3 Expressive shape library?

35. Circle, Square, Slanted, Arch, Fan, Arrow, SemiCircle, Oval, Pill, Triangle, Diamond, ClamShell, Pentagon, Gem, Sunny, VerySunny, Cookie4Sided, Cookie6Sided, Cookie7Sided, Cookie9Sided, Cookie12Sided, Ghostish, Clover4Leaf, Clover8Leaf, Burst, SoftBurst, Boom, SoftBoom, Flower, Puffy, PuffyDiamond, PixelCircle, PixelTriangle, Bun and Heart.

Can I use these shapes on the web?

Yes. Download the SVG, or copy the CSS mask, which clips any element (an image, an avatar, a button) to the shape and scales with it.

Are these the same as the shape scale (corner radius) tokens?

No. The shape scale sets corner sizes for components, from extra small (4dp) to extra extra large (48dp). The shape library is a set of decorative shapes. The type and shape tool covers the corner scale.