# 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](/docs/why-material/#measured-bundle-sizes).

| Component | Minified | Gzipped | vs core | Deferred |
| --- | ---: | ---: | ---: | ---: |
| **Core** (`pipe`, `createBase`, `withElement`) | 7.7 KB | 3.0 KB | — | — |
| [Badge](/components/badge/) | 15.4 KB | 5.3 KB | +2.2 KB | — |
| `bottom-app-bar` | 11.1 KB | 4.1 KB | +1.1 KB | — |
| [Bottom sheet](/components/bottom-sheet/) | 21.5 KB | 8.1 KB | +5.0 KB | — |
| [Side sheet](/components/side-sheet/) | 17.8 KB | 6.6 KB | +3.5 KB | — |
| [Button](/components/button/) | 21.6 KB | 7.5 KB | +4.4 KB | +6.9 KB |
| [Button group](/components/button-group/) | 36.3 KB | 11.9 KB | +8.8 KB | +6.9 KB |
| [Card](/components/card/) | 19.9 KB | 6.8 KB | +3.7 KB | +9.8 KB |
| [Carousel](/components/carousel/) | 32.6 KB | 11.8 KB | +8.8 KB | — |
| [Checkbox](/components/checkbox/) | 16.4 KB | 5.7 KB | +2.6 KB | — |
| [Chips](/components/chips/) | 28.0 KB | 9.2 KB | +6.1 KB | — |
| [Date picker](/components/datepicker/) | 36.4 KB | 12.9 KB | +9.9 KB | — |
| [Dialog](/components/dialog/) | 37.3 KB | 12.3 KB | +9.2 KB | +6.9 KB |
| [Divider](/components/divider/) | 9.8 KB | 3.8 KB | +0.7 KB | — |
| [Navigation drawer](/components/navigation-drawer/) | 27.5 KB | 9.9 KB | +6.9 KB | — |
| [FAB](/components/fab/) | 15.1 KB | 5.4 KB | +2.3 KB | — |
| [FAB menu](/components/fab-menu/) | 29.0 KB | 10.1 KB | +7.1 KB | +10.7 KB |
| [Extended FAB](/components/extended-fab/) | 17.3 KB | 6.0 KB | +2.9 KB | — |
| [Icon button](/components/icon-button/) | 18.7 KB | 6.3 KB | +3.3 KB | — |
| [List](/components/list/) | 20.5 KB | 7.2 KB | +4.2 KB | — |
| [Menu](/components/menu/) | 39.1 KB | 12.7 KB | +9.7 KB | +2.1 KB |
| [Navigation bar](/components/navigation-bar/) | 16.1 KB | 6.0 KB | +2.9 KB | — |
| [Navigation rail](/components/navigation-rail/) | 18.6 KB | 6.8 KB | +3.8 KB | — |
| [Progress](/components/progress/) | 28.8 KB | 10.5 KB | +7.4 KB | — |
| [Loading indicator](/components/loading-indicator/) | 22.8 KB | 9.3 KB | +6.3 KB | — |
| [Split button](/components/split-button/) | 27.2 KB | 9.5 KB | +6.5 KB | +17.2 KB |
| [Radio buttons](/components/radios/) | 15.1 KB | 5.2 KB | +2.1 KB | — |
| [Search](/components/search/) | 32.3 KB | 10.9 KB | +7.9 KB | — |
| [Select](/components/select/) | 40.9 KB | 13.1 KB | +10.0 KB | +10.8 KB |
| [Slider](/components/slider/) | 34.7 KB | 12.1 KB | +9.0 KB | — |
| [Snackbar](/components/snackbar/) | 36.5 KB | 12.2 KB | +9.2 KB | +6.9 KB |
| [Switch](/components/switch/) | 18.8 KB | 6.2 KB | +3.2 KB | — |
| [Tabs](/components/tabs/) | 41.5 KB | 13.5 KB | +10.4 KB | +6.9 KB |
| [Text field](/components/text-field/) | 27.9 KB | 8.7 KB | +5.7 KB | — |
| [Time picker](/components/timepicker/) | 32.8 KB | 11.3 KB | +8.3 KB | — |
| [App bar](/components/app-bar/) | 12.7 KB | 4.4 KB | +1.4 KB | — |
| [Tooltip](/components/tooltip/) | 17.9 KB | 6.3 KB | +3.3 KB | — |
| [Toolbar](/components/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:

```ts
// 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`](https://github.com/floor/material/blob/v3.16.6/scripts/size.ts),
in the material repository:

```bash
bun run size
```

It writes [`SIZES.md`](https://github.com/floor/material/blob/v3.16.6/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.
