Skip to main content brightness_auto motion_photos_off palette download more_vert
toc

Transitions

Transition patterns connect elements and views, and skeleton loaders hold space while content loads.

The six transition patterns (container transform, forward and backward, lateral, top level, enter and exit, and skeleton loaders) are helper functions and classes. See Motion for the helpers.

A skeleton hints at where content will appear and holds its space while it loads. Set loading and clear it when the content is ready.

HTMLJS
<md-gb-skeleton loading shape="text"></md-gb-skeleton>
<md-gb-skeleton id="card" loading>
  <p>Content that loads.</p>
</md-gb-skeleton>
<md-gb-button id="done" color="tonal">Finish loading</md-gb-button>
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