What problem does it solve?
Provides a clear, production-ready pattern for creating modern Angular standalone components that use signals instead of class-based inputs, enforce OnPush change detection, and guarantee accessibility and performance across applications.
Core Features & Use Cases
- Signal-based Inputs & Outputs: Guidance for required and optional inputs, transforms, computed values, model two-way bindings, and outputs or outputFromObservable for RxJS interoperability.
- Host Bindings & Accessibility: Patterns for host-level attributes, event listeners, ARIA attributes, keyboard support, and AXE/WCAG AA compliance for interactive controls.
- Template & Lifecycle Patterns: Native control-flow templates, content projection, view/content queries, dependency injection via inject(), NgOptimizedImage usage, defer for dynamic components, and error boundary patterns for robust UIs.
- Use Case: Build or refactor reusable UI primitives (buttons, cards, toggles, sliders) and complex composed components (tabs, galleries, dashboards) to be performant, testable, and accessible.
Quick Start
Create a standalone Angular v20+ component with signal-based inputs and outputs, OnPush change detection, accessible host bindings, and native control-flow templates.