What problem does it solve?
Angular teams often struggle to keep component patterns consistent while adopting Angular v20+ signals, standalone practices, and best practices for performance and accessibility. This Skill helps you standardize modern component structure so new UI elements are reliable, ergonomic for parents/consumers, and easier to maintain.
Core Features & Use Cases
- Signal-based Inputs/Outputs: Create required and optional inputs with defaults, aliases, and transforms, plus strongly-typed outputs for parent-child communication.
- OnPush + Host Bindings: Configure efficient change detection and use
host bindings for classes, attributes, styles, and event handlers without decorators.
- Modern Template Patterns: Use Angular control flow (
@if, @for, @switch) and prefer computed signals for derived state.
- Accessibility-First Interactive Components: Ensure interactive components include correct ARIA roles/attributes, keyboard support, and visible focus behavior.
- Lifecycle and Projection Support: Use lifecycle hooks and content projection (
<ng-content />) to compose UI cleanly and predictably.
Quick Start
Create a new Angular v20+ component using signal-based inputs and outputs, OnPush change detection, host bindings, and accessible keyboard interaction for a button-like component.