Svelte Tiny Virtual List

screenshot of Svelte Tiny Virtual List
svelte
vite

A tiny but mighty list virtualization library for Svelte, with zero dependencies Supports variable heights/widths, sticky items, scrolling to index, and more!

Overview

The virtual list component is designed to render only the items that are visible, providing a lighter and more efficient way to display large amounts of data on a page. Inspired by react-tiny-virtual-list, this component is tiny, dependency-free, and capable of rendering millions of items with ease. It supports various customization options such as scrolling to a specific index, fixed or variable heights/widths, and vertical or horizontal layouts.

Features

  • Tiny & dependency free: Only ~5kb gzipped
  • Render millions of items: Without performance issues
  • Scroll to index or set initial scroll offset
  • Supports fixed or variable heights/widths
  • Vertical or Horizontal lists
  • Svelte-infinite-loading compatibility
svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.