Empty state

From aladicf/better-web-ui · View interactive version

Empty state is an AI agent skill from the GitHub repository aladicf/better-web-ui. Design focused empty states for zero-data, no-results, permission, and error situations with clear value framing, strong CTAs, and less dead chrome. Use when the user mentions blank pages, zero-data screens, no results, permission states, or dead controls—not broader onboarding strategy.

How to use this skill

Skill file

Design or improve empty states so blank areas become useful product moments that teach, orient, and move users toward the next step.

This skill is specifically for zero-data and no-content surfaces. Use onboard for broader activation strategy, aha moments, first-run education, tours, and adoption planning.

MANDATORY PREPARATION

Users start this workflow with /empty-state. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first. Additionally gather: the value users should reach from this surface.


Assess the Empty State

Understand what kind of absence you are dealing with:

  1. State type:
  1. User question:
  1. Dead chrome audit:

If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.

CRITICAL: An empty state is often the user's first impression of a feature. Treat it like a real screen, not a fallback.

Plan the Empty State

Consult the empty-state patterns for the main empty-state types, full-page error variants, CTA rules, and chrome-reduction guidance.

Design the state around this structure:

Build Better Empty States

First-Use States

No-Results States

Cleared-Content States

Permission States

Error States

Reduce Dead Chrome

Use Visual Interest Carefully

NEVER:

Verify Empty-State Quality

Remember: The best empty states feel like helpful product design, not like the app ran out of things to say.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.