lamina-empty-states

Solid

Empty and zero-data UX in scenarios — first productive action when domain collections are empty. Use when collection_empty scenarios are missing.

Web & Frontend 65 stars 2 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
63
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Empty States (agent-native) Empty domain state is a **`scenarios[]` category `empty`** — not an afterthought in implementation. ## Contract encoding ```yaml scenarios: - id: no-tickets-yet category: empty trigger: when: collection_empty entity: hall_ticket screen_id: ticket-list ux: empty_state primary_action: view exam schedule copy: No tickets yet — tickets appear after payment confirms. ``` ## Design checklists 1. Every list/dashboard screen has `collection_empty` scenario or explicit "always populated" invariant. 2. One primary CTA toward first productive workflow step. 3. Explain what will appear after actor acts — not just "no data". 4. Distinguish empty vs error vs loading in `ux` field. 5. No fake data without label. ## Verify checks - Actor walk with zero-data fixture or fresh account. - Empty state copy matches contract; CTA completes onboarding workflow. ## Anti-patterns - Bare table with no rows and no guidance. - Feature tour modal instead of one clear action. - Empty state missing from contract — implementer guesses. ## Related - [Onboarding](../lamina-onboarding/SKILL.md) - [Content Design](../lamina-content-design/SKILL.md) - [Edge Cases](../lamina-edge-cases/SKILL.md)

Details

Author
aryaniyaps
Repository
aryaniyaps/lamina
Created
3 weeks ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category