petyosi/react-virtuoso has 6,488 GitHub stars and 368 forks. GitHot measured +2 stars in 24 hours, +5 in 7 days, and +15 in 15 days. Last checked 2026-11-12 09:48 UTC. Last push 2026-11-02.
React 向けの最も強力な仮想リストコンポーネント
計測したスター増加
- 24時間
- +2
- 7日間
- +5
- 15日間
- +15
- 1か月
- 更新が遅れています
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルReact Virtuoso
The most complete React virtualization rendering family of components.
- Variable sized items out of the box; no manual measurements or hard-coding item heights is necessary;
- Chat message list UI;
- Grouped mode with sticky headers;
- Responsive grid layout;
- Masonry layout;
- Table Support;
- Automatic handling of content resize;
- Custom Header, Footer, and empty list components;
- Pinned top items;
- Endless scrolling, press to load more;
- Initial top most item index;
- Scroll to index method.
Get Started
npm install react-virtuoso
import { Virtuoso } from 'react-virtuoso'
const App = () => {
return <Virtuoso style={{ height: '400px' }} totalCount={200} itemContent={(index) => <div>Item {index}</div>} />
}
ReactDOM.render(<App />, document.getElementById('root'))
Documentation
For in-depth documentation and live examples of all supported features, check the documentation website.
Components
Message List
The Virtuoso message list component is built specifically for human/chatbot conversations. In addition to the virtualized rendering, the component exposes an imperative data management API that gives you the necessary control over the scroll position when older messages are loaded, new messages arrive, and when the user submits a message. The scroll position can update instantly or with a smooth scroll animation.
Grouped Mode
The GroupedVirtuoso component is a variant of the flat Virtuoso component, with the following differences:
- Instead of
totalCount, the component exposesgroupCounts: number[]property, which specifies the amount of items in each group. For example, passing[20, 30]will render two groups with 20 and 30 items each; - In addition the
itemContentproperty, the component requires an additionalgroupContentproperty, which renders the group header. ThegroupContentcallback receives the zero-based group index as a parameter.
Grid
The VirtuosoGrid component displays same sized items in multiple columns.
The layout and item sizing is controlled through CSS class properties, which allows you to use media queries, min-width, percentage, etc.
Masonry
The Masonry component renders columns from varying-height items, suitable for product listings, image galleries, etc.
Table
The TableVirtuoso component works just like Virtuoso, but with HTML tables.
It supports window scrolling, sticky headers, sticky columns, and works with Tanstack Table and MUI Table.
Works With Your UI Library
You can customize the markup up to your requirements - check the Material UI list demo.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for development setup, testing guidelines, and pull request process.
Sponsors
If you find Virtuoso valuable for your work, please consider sponsoring the project. Your support helps ensure continued development and maintenance.
Author
Petyo Ivanov @petyosi.
License
MIT License.
関連プロジェクトを探す
freeCodeCamp/freeCodeCamp
freeCodeCamp.org のオープンソースのコードベースとカリキュラムです。数学、プログラミング、コンピュータサイエンスを無料で学べます。
459,070 スターdonnemartin/system-design-primer
大規模システムの設計を学び、システム設計面接の対策ができます。Anki のフラッシュカードが含まれています。
377,730 スターreact/react
Web とネイティブのユーザーインターフェース向けライブラリ。
252,565 スターvuejs/vue
Vue 2 のリポジトリです。Vue 3 については https://github.com/vuejs/core をご覧ください。
212,527 スター