Virtua
virtua
A zero-config, fast and small virtual list, grid and masonry component for React, Vue, Solid, Svelte and Angular.
Headless UI
react
react-component
vue
solid
svelte
angular
ui
headless
list
grid
Stars
3.8k
Weekly
706k
Open issues
53
Bundle
~25 kB
Installation
npm install virtuaCode example
import { Button } from "virtua";
export function Example() {
return (
<div className="flex gap-2">
<Button>Primary</Button>
<Button variant="outline">Secondary</Button>
</div>
);
}Pros & cons
Pros
- Actively maintained by inokawa
- 706k weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 53 open issues on GitHub