ux-feedback
Add loading, empty, error, and success feedback states to StyleSeed components and pages with practical mobile-first rules.
- License 许可
- MIT
- 最近更新
- 2026-04-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ux-feedback
- risk
- safe
- tags
- [ "ux", "states", "loading", "error-handling", "styleseed" ]
- tools
- [ "claude", "cursor", "codex", "gemini" ]
- author
- bitjaru
- source
- community
- category
- design
- date_added
- 2026-04-08
- description
- Add loading, empty, error, and success feedback states to StyleSeed components and pages with practical mobile-first rules.
- source_repo
- bitjaru/styleseed
- source_type
- community
03 SKILL.md 正文
UX Feedback
Overview
Part of StyleSeed, this skill ensures data-dependent UI does not stop at the happy path. It adds the four core feedback states every serious product needs: loading, empty, error, and success.
When to Use
- Use when a component or page fetches, mutates, or depends on async data
- Use when a flow currently renders only the success path
- Use when a card, list, or page needs better state communication
- Use when the product needs clear recovery and confirmation behavior
The Four Required States
Loading
Use skeletons that match the final layout. Avoid spinners inside cards unless the pattern genuinely requires them. Delay skeletons slightly to avoid flashes on fast responses.
Empty
Provide a friendly explanation and a next action. Zero values should still render meaningfully instead of disappearing.
Error
Use plain-language failure messages and always offer recovery where possible. Localize failures to the affected card or section if the rest of the page can still work.
Success
Use toasts or equivalent lightweight confirmation for completed actions. Add undo for reversible destructive changes.
Output
Return:
- The data-dependent areas identified
- The loading, empty, error, and success states added for each one
- Any reusable empty-state or toast patterns created
- Follow-up work needed for analytics, retries, or accessibility
Best Practices
- Match loading placeholders to the real layout
- Keep partial failure isolated whenever possible
- Make recovery obvious, not hidden in logs or developer tools
- Use success feedback sparingly but clearly
Additional Resources
04 同仓库更多 Skills
webapp-testing
To test local web applications, write native Python Playwright scripts.
python-packaging
Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.
canvas-design
These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.
webapp-testing
To test local web applications, write native Python Playwright scripts.
slack-gif-creator
A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.
frontend-design
You are a frontend designer-engineer, not a layout generator.