androidx.compose.material3
MaterialShapesSince 1.10Experimental
Sealed class
35 decorative shapes from Material 3 Expressive.
Each one is a RoundedPolygon, not a Shape. Call toShape to use it as a shape:
Button(onClick = {}, shape = MaterialShapes.Cookie9Sided.toShape()) { /* ... */ }

Button(
onClick = {},
shape = MaterialShapes.Cookie9Sided.toShape(),
contentPadding = PaddingValues(0.dp),
modifier = Modifier.size(72.dp),
) {
Icon(Icons.Filled.Favorite, contentDescription = "Like")
}
sealed class MaterialShapes
Properties
Circle
val Circle: RoundedPolygon
A circle shape.
Square
val Square: RoundedPolygon
A rounded square shape.
Slanted
val Slanted: RoundedPolygon
A slanted square shape.
Arch
val Arch: RoundedPolygon
An arch shape.
Fan
val Fan: RoundedPolygon
A fan shape.
Arrow
val Arrow: RoundedPolygon
An arrow shape.
SemiCircle
val SemiCircle: RoundedPolygon
A semi-circle shape.
Oval
val Oval: RoundedPolygon
An oval shape.
Pill
val Pill: RoundedPolygon
A pill shape.
Triangle
val Triangle: RoundedPolygon
A rounded triangle shape.
Diamond
val Diamond: RoundedPolygon
A diamond shape.
ClamShell
val ClamShell: RoundedPolygon
A clam-shell shape.
Pentagon
val Pentagon: RoundedPolygon
A pentagon shape.
Gem
val Gem: RoundedPolygon
A gem shape.
Sunny
val Sunny: RoundedPolygon
A sunny shape.
VerySunny
val VerySunny: RoundedPolygon
A very-sunny shape.
Cookie4Sided
val Cookie4Sided: RoundedPolygon
A 4-sided cookie shape.
Cookie6Sided
val Cookie6Sided: RoundedPolygon
A 6-sided cookie shape.
Cookie7Sided
val Cookie7Sided: RoundedPolygon
A 7-sided cookie shape.
Cookie9Sided
val Cookie9Sided: RoundedPolygon
A 9-sided cookie shape.
Cookie12Sided
val Cookie12Sided: RoundedPolygon
A 12-sided cookie shape.
Ghostish
val Ghostish: RoundedPolygon
A ghost-ish shape.
Clover4Leaf
val Clover4Leaf: RoundedPolygon
A 4-leaf clover shape.
Clover8Leaf
val Clover8Leaf: RoundedPolygon
An 8-leaf clover shape.
Burst
val Burst: RoundedPolygon
A burst shape.
SoftBurst
val SoftBurst: RoundedPolygon
A soft-burst shape.
Boom
val Boom: RoundedPolygon
A boom shape.
SoftBoom
val SoftBoom: RoundedPolygon
A soft-boom shape.
Flower
val Flower: RoundedPolygon
A flower shape.
Puffy
val Puffy: RoundedPolygon
A puffy shape.
PuffyDiamond
val PuffyDiamond: RoundedPolygon
A puffy-diamond shape.
PixelCircle
val PixelCircle: RoundedPolygon
A pixel-circle shape.
PixelTriangle
val PixelTriangle: RoundedPolygon
A pixel-triangle shape.
Bun
val Bun: RoundedPolygon
A bun shape.
Heart
val Heart: RoundedPolygon
A heart shape.