n-select

Render single or multi-select dropdowns with search, grouping, and virtual scrolling.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Efficient and flexible dropdowns are essential for forms and data-heavy interfaces. The n-select component consolidates single and multi-select capabilities with search, remote data loading, and option grouping to streamline user input and improve performance on large lists.

Core Features & Use Cases

  • Single and multi-select support with optional tag display for multi-select.
  • Client-side filtering and remote search support for large datasets.
  • Grouped options and virtual scrolling for performance and organization.
  • Highly configurable: placeholder, disabled state, custom rendering, and field-name mappings for backend data.
  • Use Cases: forms with country or tag selection, dashboards filtering large datasets, and admin panels with grouped categories.

Quick Start

Create a basic n-select with a few options and bind its value to a state variable, then enable filterable mode for large lists.

Frequently Asked Questions about n-select

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

FAQPage Schema
How do I implement a Vue dropdown select with search and option grouping?

A Vue dropdown select with search and grouping can be implemented using a component that supports client-side filtering and organized category navigation. This component provides single and multi-select modes with configurable field-name mappings for backend data formatting.

Does Vue virtual scrolling help with large datasets in a filterable dropdown?

Vue virtual scrolling significantly improves filterable dropdown performance with large datasets by rendering only visible options. This component utilizes virtual scrolling to maintain fast search speeds and smooth navigation when handling thousands of items in forms or dashboards.

Can I use a remote search dropdown select for large datasets in Vue?

A remote search dropdown select for large datasets is fully supported in this Vue component. It allows loading options dynamically from a backend using remote search, preventing client-side overload while maintaining filterable functionality.

What is the best way to customize a Vue multi-select dropdown with tags?

Customizing a Vue multi-select dropdown with tags is best handled through a rich event and slot model. This component provides optional tag display for multi-select, custom rendering hooks, and placeholder configurations for seamless integration.

How do I map backend data fields to a Vue dropdown select component?

Mapping backend data fields to a Vue dropdown select requires configurable field-name mappings to match your API response structure. This component allows you to define custom field names, ensuring your grouped options and disabled states align with backend data without manual transformation.

When should I enable virtual scrolling in a Vue grouped select component?

Virtual scrolling in a Vue grouped select component should be enabled when dealing with large option sets that cause performance lag. It ensures efficient rendering by limiting DOM nodes, which is essential for admin panels or dashboards filtering extensive categorized data.