n-message

Community

Show elegant in-app messages and toasts.

Authorjiaiyan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Message components provide a ready-to-use mechanism for displaying toast notifications and contextual feedback within Naive UI applications, reducing manual UI coding and ensuring consistency.

Core Features & Use Cases

  • Multiple message types: info, success, warning, error, loading
  • Imperative API: Create messages programmatically with useMessage
  • Customization: duration, closable, placement, icons
  • Global provider pattern: consistent UX across the app
  • Use Case: show a quick success after form submission, indicate loading states, and surface validation feedback

Quick Start

Mount an n-message-provider at the app root and invoke useMessage() to create and show messages.

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-message
Download link: https://github.com/jiaiyan/naive-ui-skills/archive/main.zip#n-message

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.