Angular ui patterns

From kumaran-is/claude-code-onboarding · View interactive version

Angular ui patterns is an AI agent skill from the GitHub repository kumaran-is/claude-code-onboarding. 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.

How to use this skill

Skill file

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:

Five Non-Negotiable Principles

  1. Never show stale UI — Loading states only when actually loading, never over existing data
  2. Always surface errors — Users must know when something fails; never swallow silently
  3. Optimistic updates — Make the UI feel instant; roll back on failure
  4. Progressive disclosure — Use @defer to show content as available
  5. Graceful degradation — Partial data is better than no data

Pattern Selector

What are you building?

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

Data & Mutations

Accessibility


daisyUI Integration

This skill provides the doctrine. Use these daisyUI classes from angular-spa skill:


Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.