Skip to main content

loading-empty-error-states

Design the three states every data UI forgets. Use for any component that fetches or lists data.

Quellinformationen

Repository
Archive228/loopkit
Letzte Quellaktivität
29. Juni 2026 um 22:25
Erkannte Sprache von SKILL.md
Englisch
Sterne
757
Forks
124

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.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
loading-empty-error-states
description
Design the three states every data UI forgets. Use for any component that fetches or lists data.
when_to_use
a list, a fetch, a dashboard, anything async in the UI
# Loading / Empty / Error States AI-built UIs handle the happy path and crash on the other three. Design all four: - **Loading** — skeletons that match the final layout (not a centered spinner that shifts everything). - **Empty** — a real first-run state: what it is, and the one action to fill it. Not a blank box. - **Error** — what failed, in human terms, plus a retry. Never a raw stack trace or silent nothing. - **Partial** — slow/streaming data, optimistic updates that can roll back. For each fetch in the diff, confirm all four exist. The empty and error states are where products feel broken.
Auf GitHub ansehen