Skip to main content brightness_auto motion_photos_off palette download more_vert
toc

Bundle Sizes

Every md-gb- component is checked against a Brotli-compressed size budget for its JavaScript and CSS (the measured size plus 10% headroom), defined in scripts/size/gb-budgets.json.

Every md-gb-* component is checked against a Brotli-compressed size budget for its JavaScript and CSS (the measured size plus 10% headroom), defined in scripts/size/gb-budgets.json. For example, md-gb-button stays within about 4.8 KB of JavaScript and 1.5 KB of CSS, and md-gb-badge within about 1 KB and 0.5 KB. Import only the components you use to keep your bundle small.

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