n-drawer

Create resizable slide-out drawers with multiple placements in Naive UI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drawer component for slide-out panels and navigation from screen edges. Invoke when you need to create slide-out panels, sidebars, or multi-level navigation drawers in Naive UI.

Core Features & Use Cases

  • Multiple Placements: top, right, bottom, left
  • Resizable: Drag to resize width/height
  • Multiple Drawers: Support for nested drawers
  • Customizable Size: Control width and height
  • Scroll Support: Native or custom scrollbar
  • Header and Footer Slots: Built-in header/footer slots
  • Use Cases: Navigation drawer, detail panels, forms, nested drawers in dashboards

Quick Start

Open a right-placed, resizable drawer with a header and content area.

Frequently Asked Questions about n-drawer

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

FAQPage Schema
How do I build a slide-out navigation drawer in Naive UI?▼

Build a slide-out navigation drawer in Naive UI by using a reusable pattern supporting side navigation, multiple placements like right or left, and trap focus. It provides header and footer slots to structure panel content easily.

Can I open multiple nested drawers at the same time in Naive UI?▼

Yes, you can open multiple nested drawers simultaneously. The pattern supports multi-level drawer workflows, allowing you to stack detail panels and forms across dashboards and admin interfaces without conflicts.

Does Naive UI support resizable slide-out panels?▼

Yes, Naive UI supports resizable slide-out panels. The drawer pattern includes drag-to-resize behavior, allowing you to dynamically control the width and height of sidebars and detail panels directly within the application interface.

What are the available placements for sidebars in Naive UI?▼

Available placements for sidebars in Naive UI include top, right, bottom, and left. This allows you to invoke slide-out panels from any screen edge to build navigation, detail views, or forms.

How do I add custom headers and footers to a Naive UI drawer?▼

Add custom headers and footers to a Naive UI drawer by utilizing built-in header and footer slots. These slots allow you to embed interactive elements and navigation controls directly into the slide-out panel.