androidx.compose.material3

ShapeDefaults

Object

The default shapes of the theme. Shapes() uses these for any value you don't pass.

In most code, read MaterialTheme.shapes instead. It follows the app's theme; ShapeDefaults does not.

object ShapeDefaults

Properties

ExtraSmall

val ExtraSmall: CornerBasedShape

Extra small sized corner shape

Small

val Small: CornerBasedShape

Small sized corner shape

Medium

val Medium: CornerBasedShape

Medium sized corner shape

Large

val Large: CornerBasedShape

Large sized corner shape

LargeIncreasedSince 1.10

val LargeIncreased: CornerBasedShape

Large sized corner shape, slightly larger than Large

ExtraLarge

val ExtraLarge: CornerBasedShape

Extra large sized corner shape

ExtraLargeIncreasedSince 1.10

val ExtraLargeIncreased: CornerBasedShape

Extra large sized corner shape, slightly larger than ExtraLarge

ExtraExtraLargeSince 1.10

val ExtraExtraLarge: CornerBasedShape

An extra extra large (XXL) sized corner shape