Installation

Before we dig in to the API, let's get you set up!

Install your TanStack Virtual adapter as a dependency using your favorite npm package manager

React Virtual

bash
$ npm install @tanstack/react-virtual
$ npm install @tanstack/react-virtual

Solid Virtual

bash
$ npm install @tanstack/solid-virtual
$ npm install @tanstack/solid-virtual

Svelte Virtual

bash
$ npm install @tanstack/svelte-virtual
$ npm install @tanstack/svelte-virtual

Vue Virtual

bash
$ npm install @tanstack/vue-virtual
$ npm install @tanstack/vue-virtual

Lit Virtual

bash
$ npm install @tanstack/lit-virtual
$ npm install @tanstack/lit-virtual

Angular Virtual

bash
$ npm install @tanstack/angular-virtual
$ npm install @tanstack/angular-virtual

Virtual Core (no framework)

bash
$ npm install @tanstack/virtual-core
$ npm install @tanstack/virtual-core
Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.