n-dialog

Community

Create powerful modal dialogs with a single API.

Authorjiaiyan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Naive UI dialog components simplify building modal confirmations and user interactions by providing a cohesive, programmable API that handles various dialog flows.

Core Features & Use Cases

  • Imperative API: Use useDialog to create dialogs programmatically.
  • Multiple Types: info, success, warning, error variants with customizable actions.
  • Provider & Component Modes: Works with DialogProvider, or declarative usage via n-dialog.
  • Async & Drag Support: Supports async operations and draggable dialogs, with mask control and keyboard shortcuts.
  • Customization: Full control over title, content, actions, icons, and slot content.

Quick Start

Open a dialog using useDialog, customize the title, content, and actions, and handle the result via callbacks.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: n-dialog
Download link: https://github.com/jiaiyan/naive-ui-skills/archive/main.zip#n-dialog

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.