element-plus-container

Summarizes Elas Element Plus el-container attributes, slots, and usage scenarios for layout questions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers configuring Element Plus containers often need to recall direction defaults, slot responsibilities, and nested layout behavior, so this Skill keeps the el-container API at hand without flipping through the full docs.

Core Features & Use Cases

  • Attribute Reference: Detailed tables describe the direction defaults and sizing options for the container, header, aside, main, and footer sections.
  • Slot Guidance: Explains how each slot (default content for Container, Header, Aside, Main, Footer) customizes layout regions and how they nest together.
  • Use Case: Quickly answer how to combine el-header, el-main, and el-footer within an el-container to create a responsive page structure.

Quick Start

Ask how to structure an el-container with header, main, and footer sections to achieve a balanced layout.

Frequently Asked Questions about element-plus-container

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

FAQPage Schema
How do I structure an Element Plus el-container with header, main, and footer sections?▼

To structure an Element Plus el-container, combine el-header, el-main, and el-footer within the el-container component to create a balanced page layout. The container manages direction defaults and sizing options for these nested sections.

What is the default direction behavior of the Element Plus el-container component?▼

The default direction of the Element Plus el-container component is horizontal when any child element is an el-header or el-footer; otherwise, it defaults to vertical. Attribute tables provide detailed sizing options for these sections.

How do slots work in Element Plus container layouts?▼

Slots in Element Plus container layouts customize specific layout regions; the default slot for Container, Header, Aside, Main, and Footer components defines how content nests together to form the overall page structure.

Can I use el-aside inside an Element Plus el-container to create a sidebar?▼

Yes, you can use el-aside inside an Element Plus el-container to create a sidebar. It works alongside el-header, el-main, and el-footer to build responsive page structures with distinct layout regions.

What's the best way to quickly recall Element Plus container attributes without reading the full documentation?▼

The best way to recall Element Plus container attributes quickly is using a summarized reference that details direction defaults, sizing options, and slot responsibilities for container, header, aside, main, and footer sections.