angular-ui-patterns
Skill36 starsChanged 6 months agoMITView on GitHub
Angular 21.x UI/UX state patterns — loading states (show only when no data), error hierarchy (inline→toast→banner→full-screen), empty states, button loading, form patterns with validation, dialog/modal patterns. Load when building any Angular UI component that handles async data or user actions.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- ai4brands-design/claude-skillstheir own version, first seen Mar 22, 2026
- xfstudio/skillstheir own version, first seen Jan 22, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- xfstudio/skills★ 9same name
- ai4brands-design/claude-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository157 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a2ui-angularSkill
- accessibility-auditSkill
- adk-deploy-guideSkill
- adk-dev-guideSkill
- adk-eval-guideSkill
- adk-observability-guideSkill
- agentic-ai-coding-standardSkill
- agentic-ai-devSkill
- ai-auditSkill
- ai-chatSkill
- ai-decision-recordSkill
- ai-incident-responseSkill
- ai-launch-checkSkill
- ai-playbookSkill
- angular-best-practicesSkill
- angularSkill
- angular-spaSkill
- api-design-principlesSkill
- app-store-optimizationSkill
- architect-reviewSkill
- architecture-decision-recordsSkill
- architecture-designSkill
- asc-cli-usageSkill
- asc-crash-triageSkill
- asc-id-resolverSkill
- asc-release-flowSkill
- asc-signing-setupSkill
- asc-submission-healthSkill
- asc-testflight-orchestrationSkill
- browser-testingSkill
- changelog-generatorSkill
- claude-actions-auditorSkill
- clean-codeSkill
- codebase-onboardingSkill
- code-explainerSkill
- code-reviewerSkill
- code-simplifierSkill
- comment-analyzerSkill
- database-schema-designerSkill
- ddd-architectSkill
- decision-frameworksSkill
- dedup-code-agentSkill
- deployment-ci-cdSkill
- design-systemSkill
- dockerSkill
- documentation-generationSkill
- domain-finderSkill
- error-detectiveSkill
- eval-guideSkill
- feature-forgeSkill
- firebase-basicsSkill
- firebase-hosting-basicsSkill
- fixing-accessibilitySkill
- fixing-motion-performanceSkill
- flutter-animationsSkill
- flutter-genuiSkill
- flutter-mobileSkill
- flutter-security-expertSkill
- frontend-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 63
Before completing any UI component:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Iron Law
LOAD angular-spa FIRST for daisyUI component classes and TailwindCSS 4.x tokens. This skill provides UI state doctrine — use angular-spa reference files for the actual component HTML/CSS.
When to Use This Skill
Load this skill when:
- Building any Angular component that fetches async data
- Adding loading, error, or empty states to a list or page
- Implementing form validation with inline field errors
- Adding button loading states or disabling during async operations
- Building confirmation dialogs or modals
- Reviewing a component for missing UI state coverage
Five Non-Negotiable Principles
- Never show stale UI — Loading states only when actually loading, never over existing data
- Always surface errors — Users must know when something fails; never swallow silently
- Optimistic updates — Make the UI feel instant; roll back on failure
- Progressive disclosure — Use
@deferto show content as available - Graceful degradation — Partial data is better than no data
Pattern Selector
What are you building?
- Async list/page → load
reference/loading-control-flow.md - Error handling → load
reference/error-handling.md - Button with loading → load
reference/button-empty-states.md - Form with validation → load
reference/form-dialog-patterns.md - Reviewing for mistakes → load
reference/anti-patterns.md
Reference Files
| Reference | Load When |
| reference/index.md | Any time — navigation |
| reference/loading-control-flow.md | Building async list or page |
| reference/error-handling.md | Adding error handling |
| reference/button-empty-states.md | Buttons or collections |
| reference/form-dialog-patterns.md | Forms or confirmation dialogs |
| reference/anti-patterns.md | Reviewing a component |
UI State Checklist
Before completing any UI component:
UI States
- Error state handled and shown to user
- Loading state shown only when no data exists
- Empty state provided for collections (
@emptyblock) - Buttons disabled during async operations
- Buttons show loading indicator when appropriate
Data & Mutations
- All async operations have error handling
- All user actions have feedback (toast/visual)
- Optimistic updates rollback on failure
Accessibility
- Loading states announced to screen readers
- Error messages linked to form fields
- Focus management after state changes
daisyUI Integration
This skill provides the doctrine. Use these daisyUI classes from angular-spa skill:
- Loading:
class="loading loading-spinner loading-lg" - Alert:
class="alert alert-error"/class="alert alert-success" - Button loading:
class="btn btn-primary loading" - Skeleton:
class="skeleton h-4 w-full" - Empty state:
class="hero min-h-32"
Related Skills
angular-spa— workspace skill: daisyUI components, TailwindCSS tokens, conventionsangular— core API reference for signals and control flowangular-best-practices— performance rules that complement these UI patterns
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

