Bundle size
material is tree-shakable: an app pays for the components it imports, and nothing else. Every
figure on this page is material's own measurement for material 3.16.6,
measured at commit 123e1c99 on 2026-11-24.
Size table
Each row imports only that component from the package entry, the way an app does, and counts
what a bundler keeps. Minified and Gzipped are the initial load: the code the import
pulls in before anything loads on demand. vs core is the gzipped cost over material's core,
the 3.0 KB kernel every component starts from. Deferred is the gzipped code
that loads later through import(), only when a feature needs it (a button's progress
indicator, for example). The figures are JavaScript; stylesheets are measured separately, in
Why material.
| Component | Minified | Gzipped | vs core | Deferred |
|---|---|---|---|---|
Core (pipe, createBase, withElement) |
7.7 KB | 3.0 KB | — | — |
| Badge | 15.4 KB | 5.3 KB | +2.2 KB | — |
bottom-app-bar |
11.1 KB | 4.1 KB | +1.1 KB | — |
| Bottom sheet | 21.5 KB | 8.1 KB | +5.0 KB | — |
| Side sheet | 17.8 KB | 6.6 KB | +3.5 KB | — |
| Button | 21.6 KB | 7.5 KB | +4.4 KB | +6.9 KB |
| Button group | 36.3 KB | 11.9 KB | +8.8 KB | +6.9 KB |
| Card | 19.9 KB | 6.8 KB | +3.7 KB | +9.8 KB |
| Carousel | 32.6 KB | 11.8 KB | +8.8 KB | — |
| Checkbox | 16.4 KB | 5.7 KB | +2.6 KB | — |
| Chips | 28.0 KB | 9.2 KB | +6.1 KB | — |
| Date picker | 36.4 KB | 12.9 KB | +9.9 KB | — |
| Dialog | 37.3 KB | 12.3 KB | +9.2 KB | +6.9 KB |
| Divider | 9.8 KB | 3.8 KB | +0.7 KB | — |
| Navigation drawer | 27.5 KB | 9.9 KB | +6.9 KB | — |
| FAB | 15.1 KB | 5.4 KB | +2.3 KB | — |
| FAB menu | 29.0 KB | 10.1 KB | +7.1 KB | +10.7 KB |
| Extended FAB | 17.3 KB | 6.0 KB | +2.9 KB | — |
| Icon button | 18.7 KB | 6.3 KB | +3.3 KB | — |
| List | 20.5 KB | 7.2 KB | +4.2 KB | — |
| Menu | 39.1 KB | 12.7 KB | +9.7 KB | +2.1 KB |
| Navigation bar | 16.1 KB | 6.0 KB | +2.9 KB | — |
| Navigation rail | 18.6 KB | 6.8 KB | +3.8 KB | — |
| Progress | 28.8 KB | 10.5 KB | +7.4 KB | — |
| Loading indicator | 22.8 KB | 9.3 KB | +6.3 KB | — |
| Split button | 27.2 KB | 9.5 KB | +6.5 KB | +17.2 KB |
| Radio buttons | 15.1 KB | 5.2 KB | +2.1 KB | — |
| Search | 32.3 KB | 10.9 KB | +7.9 KB | — |
| Select | 40.9 KB | 13.1 KB | +10.0 KB | +10.8 KB |
| Slider | 34.7 KB | 12.1 KB | +9.0 KB | — |
| Snackbar | 36.5 KB | 12.2 KB | +9.2 KB | +6.9 KB |
| Switch | 18.8 KB | 6.2 KB | +3.2 KB | — |
| Tabs | 41.5 KB | 13.5 KB | +10.4 KB | +6.9 KB |
| Text field | 27.9 KB | 8.7 KB | +5.7 KB | — |
| Time picker | 32.8 KB | 11.3 KB | +8.3 KB | — |
| App bar | 12.7 KB | 4.4 KB | +1.4 KB | — |
| Tooltip | 17.9 KB | 6.3 KB | +3.3 KB | — |
| Toolbar | 33.1 KB | 11.2 KB | +8.2 KB | +6.9 KB |
Everything (export * from 'material') |
407.3 KB | 129.4 KB | +126.3 KB | +2.1 KB |
An app pays the core once, plus each component's vs core. Components share code, so two components together usually cost less than their two figures added up.
Tree-shaking
Only the components you import reach your bundle. material checks this for all 37 components: the measurement imports each one alone and fails if its bundle carries another component's code.
For example, importing only the button produces a 7.5 KB gzipped bundle, +4.4 KB over the core:
// Only the button is bundled: no other component
import { createButton } from 'material';
Bundlephobia reports the size of everything the package exports at once
(export * from 'material', 129.4 KB here). An app that imports a few components
pays a fraction of that.
Measuring
The numbers come from material's own script, scripts/size.ts,
in the material repository:
bun run size
It writes SIZES.md
with bun run size --markdown > SIZES.md, and material's CI fails when a row drifts from a
fresh measurement, so the table at each release tag is that release's measurement. This site
copies the table for the version it runs (bun run sizes:sync) and refuses to build while the
copy names another version.