AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

El Container

skill-jiaiyan-element-plus-skills-el-container · by jiaiyan

Container components for scaffolding basic page structure with header, aside, main, and footer sections. Invoke when user needs to create page layouts.

No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-jiaiyan-element-plus-skills-el-container

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jiaiyan-element-plus-skills-el-container)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of El Container? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Element Plus Container Components

Container components for scaffolding basic structure of the page.

When to Invoke

Invoke this skill when:

  • User needs to create a page layout
  • User wants to implement header/footer/aside/main sections
  • User needs to create admin dashboard layouts
  • User asks about responsive layouts
  • User needs nested container layouts

Features

  • Flex-based Layout: Uses CSS Flexbox for layout
  • Automatic Direction: Direction based on child elements
  • Nested Support: Multiple levels of nesting
  • Customizable Sizes: Configurable header height, aside width
  • Responsive: Works with responsive design

Components

Container (el-container)

Wrapper container. When nested with a ` or `, all its child elements will be vertically arranged. Otherwise horizontally.

Header (el-header)

Container for headers.

Aside (el-aside)

Container for side sections (usually a side nav).

Main (el-main)

Container for main sections.

Footer (el-footer)

Container for footers.

API Reference

Container Attributes

| Name | Description | Type | Default | |------|-------------|------|---------| | direction | layout direction for child elements | 'horizontal' \| 'vertical' | vertical when nested with el-header or el-footer; horizontal otherwise |

Container Slots

| Name | Description | Subtags | |------|-------------|---------| | default | customize default content | Container / Header / Aside / Main / Footer |

Header Attributes

| Name | Description | Type | Default | |------|-------------|------|---------| | height | height of the header | string | 60px |

Header Slots

| Name | Description | |------|-------------| | default | customize default content |

Aside Attributes

| Name | Description | Type | Default | |------|-------------|------|---------| | width | width of the side section | string | 300px |

Aside Slots

| Name | Description | |------|-------------| | default | customize default content |

Main Slots

| Name | Description | |------|-------------| | default | customize default content |

Footer Attributes

| Name | Description | Type | Default | |------|-------------|------|---------| | height | height of the footer | string | 60px |

Footer Slots

| Name | Description | |------|-------------| | default | customize default content |

Usage Examples

Basic Layout (Header + Main)


  
    Header
    Main
  

.el-header,
.el-main {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-main {
  background-color: #e9eef3;
  line-height: 160px;
}

Header + Main + Footer


  
    Header
    Main
    Footer
  

Aside + Main


  
    Aside
    Main
  

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

Header + Aside + Main


  
    Header
    
      Aside
      Main
    
  

Header + Aside + Main + Footer


  
    Header
    
      Aside
      
        Main
        Footer
      
    
  

Aside + Header + Main


  
    Aside
    
      Header
      Main
    
  

Aside + Header + Main + Footer


  
    Aside
    
      Header
      Main
      Footer
    
  

Full Dashboard Layout


  
    
      
        
          
          Dashboard
        
        
          
          Users
        
        
          
          Settings
        
      
    
    
    
      
        
          Admin Dashboard
          
            
              
              Admin
            
            
              
                Profile
                Logout
              
            
          
        
      
      
      
        
      
      
      
        © 2024 Your Company
      
    
  

import { ref } from 'vue'
import { HomeFilled, User, Setting } from '@element-plus/icons-vue'

const activeIndex = ref('/dashboard')

.el-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.header-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.el-aside {
  background-color: #304156;
}

.el-menu {
  border-right: none;
}

.el-footer {
  background-color: #f5f5f5;
  text-align: center;
}

Common Issues

1. Container Not Filling Screen

Set height on the container:


  

2. Aside Width Not Changing

Use the width attribute:

Aside

3. Content Overflow

Add overflow styles:


  

Best Practices

  1. Use semantic structure: Follow header-main-footer pattern
  2. Set container height: Always set height for full-page layouts
  3. Responsive design: Use CSS media queries for responsive layouts
  4. Nested containers: Use nested containers for complex layouts
  5. Combine with Menu: Use Aside with Menu for navigation

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.