Skip to main content

design-an-empty-state

Design an accurate and useful interface when expected content is absent. Use when first use, no results, completed work, filters, permissions, loading failure, or deleted content could otherwise look identical.

Quellinformationen

Repository
protosphinx/sphinxstack
Letzte Quellaktivität
29. Juli 2026 um 13:55
Erkannte Sprache von SKILL.md
Englisch
Sterne
3
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
design-an-empty-state
category
design
description
Design an accurate and useful interface when expected content is absent. Use when first use, no results, completed work, filters, permissions, loading failure, or deleted content could otherwise look identical.
# design-an-empty-state ## Procedure 1. Identify the exact cause: new account, no data, no match, restricted access, completion, failure, or deletion. 2. Define what the system knows and must not imply. 3. State the condition in plain language and preserve the page's purpose and orientation. 4. Offer the safest useful next action, alternative, reset, support, or no-action confirmation. 5. Explain prerequisites, permissions, cost, or irreversible consequences before action. 6. Keep search and filtered zero states distinct from an empty collection. 7. Provide accessible headings, focus, links, illustrations, and status announcements. 8. Test each cause, role, language, screen size, and failure path. ## Guardrails - Do not blame the user or celebrate absence that may reflect loss. - Never reveal the existence of restricted content. - Avoid decorative calls to action unrelated to recovery. ## Done - An empty-state matrix maps each cause to truthful text and action - Permission, no-result, failure, and first-use cases are verified separately - Accessibility and recovery checks pass
Auf GitHub ansehen