Skip to main content brightness_auto motion_photos_off palette download more_vert
toc

Shape

Shape can direct attention, communicate state, and express brand.

M3 Expressive uses a corner radius scale from straight to fully round, with larger steps, "increased" values, and shape morphing between states.

Tokens follow the naming convention --md-sys-shape-corner-<step>.

Shape Token
Corner --md-sys-shape-corner-none
  --md-sys-shape-corner-xs
  --md-sys-shape-corner-sm
  --md-sys-shape-corner-md
  --md-sys-shape-corner-lg, -lg-increased
  --md-sys-shape-corner-xl, -xl-increased
  --md-sys-shape-corner-xxl
  --md-sys-shape-corner-full

Steps also come in asymmetric variants (-xs-top, -lg-top, -lg-start, -lg-end, -xl-top) and as single values (--md-sys-shape-corner-value-<step>). Each step also has one token per corner, such as --md-sys-shape-corner-md-start-end, which defaults to the step's all-corner token; override one to shape a single corner.

--md-sys-shape-corner-full is 50cqmin (half the shorter side of the nearest size container), so it rounds fully only inside a container. Components that animate through "full" set it to half their own height.

Medium corners
HTMLCSS
<div class="box">Medium corners</div>

Set data-shape-family="cut" on <html> to cut corners in browsers that support corner-shape.

Install Material Web 3.0

Your browser did not offer to install the docs as an app. Install them from the browser instead:

Close
Send feedback
Bug Documentation Idea

Opens a new GitHub issue for material-components/material-web in a new tab, with this filled in.

Cancel Open issue