TanStack Virtual
Headless virtualization library for rendering large scrollable lists efficiently.
UI components and icons npm MIT
Used in agent projects
67
0.5% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#30 of 75
by use in those projects
Downloads
27M
npm, last 7 days, @tanstack/react-virtual
GitHub stars
7,134
last push Oct 9, 2026
How TanStack Virtual is used
TanStack Virtual is a dependency in 67 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #30 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use Lucide React (82.1%), clsx (76.1%), Tailwind Merge (74.6%).
Often used with TanStack Virtual
| Lucide React | 82.1% of TanStack Virtual projects · 4.1× more than average |
|---|---|
| clsx | 76.1% of TanStack Virtual projects · 4.3× more than average |
| Tailwind Merge | 74.6% of TanStack Virtual projects · 4.4× more than average |
| Zod | 71.6% of TanStack Virtual projects · 4.2× more than average |
| Class Variance Authority | 64.2% of TanStack Virtual projects · 4.5× more than average |
| Vitest | 62.7% of TanStack Virtual projects · 5.1× more than average |
| Testing Library | 59.7% of TanStack Virtual projects · 8.3× more than average |
| Tailwind CSS | 89.6% of TanStack Virtual projects · 2.6× more than average |
By coding agent
| Claude Code | 1.3% of projects set up for it |
|---|---|
| Cursor | 1.3% of projects set up for it |
| GitHub Copilot | 0.9% of projects set up for it |
| OpenAI Codex | 1.8% of projects set up for it |
| Gemini CLI | 1.8% of projects set up for it |
Share of public repos configured for each agent that list TanStack Virtual as a dependency.
Install
| Package | npm install @tanstack/react-virtual |
|---|---|
| Main stacks | Next.js (33), TypeScript / JavaScript (28), Python (3), PHP (1) |
| Example projects | Automattic/wp-calypso, ding113/claude-code-hub, 1600822305/AetherLink, cdavid817/vanehub-ai, bitrise-io/bitrise-workflow-editor |
Alternatives to TanStack Virtual
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Lucide React npm Comprehensive icon library with consistent design for React applications. |
2,519 (19.8%) | 108M | 24.9K | ISC |
| Class Variance Authority npm Type-safe CSS class composition for component variants and styling. |
1,791 (14.1%) | 66.3M | 6,903 | Apache-2.0 |
| Radix UI npm Unstyled, accessible component primitives for building design systems. |
1,519 (12.0%) | 182M | 19.4K | MIT |
| Sonner npm Opinionated toast notification component for React applications. |
1,025 (8.1%) | 49.6M | 13K | MIT |
| React Icons npm Popular icon packs imported as React components with ES6. |
688 (5.4%) | 8.8M | 12.7K | MIT |
| cmdk npm Command menu component library for React applications. |
687 (5.4%) | 42.2M | 13K | MIT |
| React Day Picker npm Flexible and customizable date picker component for React. |
675 (5.3%) | 42.8M | 6,859 | MIT |
| Vaul npm Unstyled, accessible drawer component for React with smooth animations. |
582 (4.6%) | 35M | 8,638 | MIT |