/ Docs

Bundle Size #

PublishedUpdated Sep 16, 2026

All measurements are for ESM output with minification enabled. Gzipped delta is the cost of adding that plugin on top of the base bundle.

Size Table #

Plugin Minified Gzipped Delta
Base (createVList) 27.2 KB 10.4 KB —
vlist/synthetic entry (deprecated) 34.1 KB 13.0 KB +2.6 KB
a11y 32.5 KB 12.4 KB +2.0 KB
selection 37.5 KB 13.9 KB +3.5 KB
data 41.0 KB 15.3 KB +4.8 KB
scrollbar 35.3 KB 13.3 KB +2.9 KB
sortable 38.8 KB 14.0 KB +3.6 KB
groups 43.7 KB 16.1 KB +5.7 KB
page 30.3 KB 11.5 KB +1.1 KB
snapshots 30.8 KB 11.7 KB +1.3 KB
transition 33.9 KB 12.4 KB +2.0 KB
autosize 32.1 KB 12.2 KB +1.8 KB
search 36.5 KB 14.0 KB +3.5 KB
carousel 43.4 KB 16.0 KB +5.6 KB
Layout
grid 35.2 KB 13.2 KB +2.8 KB
table 45.6 KB 16.7 KB +6.3 KB
masonry 39.9 KB 15.0 KB +4.6 KB
tree 43.5 KB 15.8 KB +5.4 KB

The synthetic driver is not in the base. A list that goes synthetic, with scroll.mode: "synthetic" or "auto" past the browser's size limit, downloads it as a separate file, synthetic-driver.js (about 3.4 KB gzipped), the first time it needs it.

Bundlephobia reports 58.8 kB gzipped for [email protected]. The package's root entry exports all 16 plugins. An app pays the base, 10.4 KB gzipped, plus only the plugins it imports.

Tree-Shaking #

Only imported plugins are bundled. Dead code elimination has been verified for all 16 plugins.

Example: importing only createVList + selection produces a 13.9 KB gzipped bundle — no cost for unused plugins.

// Only createVList + selection are bundled — nothing else
import { createVList, selection } from "vlist";

Measuring #

bun run size