el-empty

Display customizable empty-state placeholders in Element Plus UI components.

21|2|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/jiaiyan/element-plus-skills --skill el-empty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: el-empty
Source: https://github.com/jiaiyan/element-plus-skills/tree/main/components/el-empty
Command: npx skills add https://github.com/jiaiyan/element-plus-skills --skill el-empty

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Empty states are common in interfaces; this skill provides a way to display placeholder content when there is no data, no results, or an error state, guiding users.

Core Features & Use Cases

  • Customizable empty-state content via image, description, and bottom actions
  • Slots for default content, image, and description to tailor UI
  • Examples include no data views in tables, search results, and error states

Quick Start

Use <el-empty /> in your template to render an empty-state placeholder.

Frequently Asked Questions about el-empty

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

FAQPage Schema
How do I display an empty state placeholder in Vue when data is missing?

To display an empty state placeholder in Vue, use the <el-empty> component to render customizable UI content when data is missing. It supports image, image-size, and description attributes to guide users through empty or error states.

Can I customize the image and description for Element Plus empty states?

Yes, you can customize Element Plus empty states by using the image, image-size, and description attributes. Additionally, it provides slots for default content, image, and description to fully tailor the UI placeholder views.

What is the best way to show no search results in a Vue list component?

The best way to show no search results in a Vue list is rendering an empty-state placeholder. Use <el-empty> to display helpful descriptions and images across lists, tables, and search results when data is missing.

Does the Element Plus empty state component support adding bottom actions?

Yes, the Element Plus empty state component supports adding bottom actions. You can use the default slot to insert custom UI content and actions alongside customizable images and descriptions for missing data views.

When should I use an empty state placeholder in my UI components?

Use an empty state placeholder when your UI components have no data, no search results, or encounter an error state. It provides placeholder content that guides users through missing data views in tables and lists.

Why does my Vue table show a blank space instead of an empty state?

A Vue table shows a blank space instead of an empty state because no placeholder is configured for missing data. Add the <el-empty> component to render images and descriptions, guiding users when data is missing.