# TanStack Virtual

[BASE product page](<https://base.akulich.dev/en/library/tanstack-virtual/>) · [Resource](<https://github.com/tanstack/virtual>)

ID: tanstack\-virtual · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Headless virtualization for lists and grids: displays the visible portion of large datasets and reduces DOM load\.

## Type

UI library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-tasks>)

- Display a large list with a limited DOM
- Connect virtual items to rendering the visible portion of a list

## Category IDs

- frontend
- design

## Subcategory IDs

- frontend\.components
- design\.systems
- frontend\.tables

## Tags

- TanStack Virtual
- UI
- Development

## Also known as

- tanstack/virtual
- headless\-ui
- virtual\-list
- virtual\-scroll

## [Selection purpose](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-selection>)

Display a large list with a limited DOM

## [Choose this when](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-selection>)

- Display a large list with a limited DOM
- Connect virtual items to rendering the visible portion of a list

## [Consider alternatives when](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-selection>)

- When choosing for this topic, compare TanStack Virtual with AG Grid\. A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- When choosing for this topic, compare TanStack Virtual with Handsontable\. A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## [Requirements](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-selection>)

- Connect container and item measurements, define the list model, and test keyboard navigation\.

## [Limitations](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- The authors' 60 FPS claim is not a guarantee for every device and content type\. DOM virtualization does not automatically reduce downloaded image or data sizes\.

## [Questions before use](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-faq>)

### What can you use for free in TanStack Virtual?

Code and local use under MIT\.

### What additional costs might arise with TanStack Virtual?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for TanStack Virtual?

MIT for the code; dependencies have separate licenses\.

### How do you get started with TanStack Virtual?

Specify the item list, scroll container, and row dimensions\. Connect virtual items to rendering the visible portion of a list\. Configure styles and check empty, loading, and error states\.

### Which layouts does TanStack Virtual support?

Headless virtualization works with vertical and horizontal lists, grids, and tables\. It offers dynamic and measured item sizes, sticky items, and window\-scrolling tools\. The library determines the visible part of the collection while leaving markup and styles under the application's control\.

## Related resources selected by editors

- ag\-grid: A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- handsontable: A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.
- tanstack\-table: A candidate to compare under the topic: Design systems, UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## Sources for the selection guide

- [https://github\.com/tanstack/virtual](<https://github.com/tanstack/virtual>)
- [https://raw\.githubusercontent\.com/tanstack/virtual/HEAD/README\.md](<https://raw.githubusercontent.com/tanstack/virtual/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/tanstack/virtual/HEAD/LICENSE](<https://raw.githubusercontent.com/tanstack/virtual/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-scenario>)

Display a large list with a limited DOM\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- The component's design, states, and data\.
- A compatible framework and the project's styles\.

## Steps

1. Specify the item list, scroll container, and row dimensions\.
2. Connect virtual items to rendering the visible portion of a list\.
3. Configure styles and check empty, loading, and error states\.

## Check your result

- The keyboard, focus indicators, and a screen reader let users complete the action\.
- The component works on a narrow screen and with long data values\.

## [License](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- tanstack\-table
- ag\-grid
- handsontable

## [Sources](<https://base.akulich.dev/en/library/tanstack-virtual/#resource-sources>)

- [Official source](<https://github.com/tanstack/virtual>)
- [Official source](<https://raw.githubusercontent.com/tanstack/virtual/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/tanstack/virtual/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
