n-infinite-scroll

Automatically load additional items when scrolling nears the bottom of a container.

8|3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-infinite-scroll
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n-infinite-scroll
Source: https://github.com/jiaiyan/naive-ui-skills/tree/main/components/n-infinite-scroll
Command: npx skills add https://github.com/jiaiyan/naive-ui-skills --skill n-infinite-scroll

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Infinite scroll simplifies user experience by automatically loading additional content as the user reaches the end of a list, eliminating manual actions.

Core Features & Use Cases

  • Auto-loading when the user nears the bottom to create smooth feeds.
  • Configurable distance threshold and optional custom scrollbar integration.
  • Suitable for feeds, chat histories, long lists, and data tables requiring progressive loading.

Quick Start

Create an n-infinite-scroll container with a 10px distance to automatically load more items when the user scrolls near the bottom.

Frequently Asked Questions about n-infinite-scroll

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement infinite scroll in a Vue application using Naive UI?

Infinite scroll automatically loads additional items as the user scrolls to the bottom of a container. You can implement this in Vue and Naive UI by wrapping your list or data table in the component to trigger progressive loading.

What is the best way to load more content automatically when a user scrolls near the bottom?

Auto-loading content when the user nears the bottom creates smooth feeds. You can configure a specific distance threshold, like 10px, to trigger loading before the user actually reaches the end of the list.

Can I use scroll loading for chat histories and data tables in Vue?

Yes, scroll loading is suitable for chat histories, feeds, and data tables requiring progressive loading. It simplifies user experience by eliminating manual pagination actions in Vue applications.

Does this infinite scroll component support custom scrollbar integration?

Yes, the infinite scroll component supports optional custom scrollbar integration. This allows you to maintain consistent UI design while applying auto-loading behavior to your scroll containers.

How do I detect the end of data to stop infinite scroll loading?

The component supports end detection to stop loading when no more items are available. This prevents unnecessary network requests once all data in your feed or list has been fully loaded.