element-plus-drawer

Document Element Plus el-drawer attributes, events, slots, and exposes.

7|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/wepn13232/element-plus-skills --skill element-plus-drawer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: element-plus-drawer
Source: https://github.com/wepn13232/element-plus-skills/tree/main/drawer
Command: npx skills add https://github.com/wepn13232/element-plus-skills --skill element-plus-drawer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It collects Element Plus el-drawer API details so developers can quickly discover configuration, event, slot, and expose semantics without leaving their workflow.

Core Features & Use Cases

  • Attribute catalog of model-value, append-to-body, direction, size, and class hooks plus built-in defaults for quick configuration.
  • Event, slot, and expose reference ensures you know when to listen for open/close/resizing signals, where to drop footer content, and how to programmatically close the drawer.
  • Use Case: When implementing a slide-over settings panel, read the provided table to wire v-model, modal options, focus events, and accessible header slots before writing the Vue template.

Quick Start

Request the el-drawer attribute table to configure size, direction, and modal behavior before coding the UI.

Frequently Asked Questions about element-plus-drawer

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

FAQPage Schema
How do I configure el-drawer attributes for a Vue side panel?

To configure an el-drawer side panel in Vue, set attributes like model-value, append-to-body, direction, and size. This reference provides the complete attribute catalog with default values and types for quick UI implementation.

What events does Element Plus drawer emit for open and close signals?

Element Plus drawer emits events for open, close, and resizing signals. You can listen to these to trigger interactive behaviors and use the expose reference to programmatically close the drawer during component interactions.

How do I use slots to add footer content to an Element Plus drawer?

To add footer content to an Element Plus drawer, you use the built-in slot semantics. This reference documents where to drop footer content and how to utilize accessible header slots before writing your Vue template.

Can I use el-drawer to build a slide-over settings panel with modal behavior?

Yes, you can use el-drawer to build a slide-over settings panel with modal behavior. You wire the v-model and modal options using the provided configuration tables to manage focus events and interactive behaviors.

How does the el-drawer expose API work for programmatic closure?

The el-drawer expose API allows programmatic closure of the side panel component. It exposes methods to interactively control the drawer state, ensuring you can trigger close actions externally without relying solely on user interactions.