angular-component

Design Angular v20+ standalone components with signals and OnPush change detection.

4|Updated Jun 25, 2025
One-click install
npx skills add https://github.com/neogenz/pulpe --skill angular-component-neogenz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-component
Source: https://github.com/neogenz/pulpe/tree/main/.agents/skills/angular-component
Command: npx skills add https://github.com/neogenz/pulpe --skill angular-component-neogenz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps frontend teams build modern Angular UI components efficiently by providing a structured pattern guide for standalone components that leverage signals, OnPush change detection, and content projection.

Core Features & Use Cases

  • Pattern-based component design: guidance on creating reusable, accessible Angular components using standalone APIs and host bindings.
  • Signal-driven inputs/outputs: demonstrates how to implement inputs and outputs with signals for predictable reactive behavior.
  • Lifecycle and accessibility: covers lifecycle hooks, ARIA attributes, and keyboard navigation for accessible interactive components.
  • Use Case: Imagine building a library of reusable user-card and form-control components that can be composed across pages with consistent behavior.

Quick Start

Create a new standalone Angular component following the patterns described here, ensuring it uses signals for inputs and outputs, OnPush change detection, and proper host bindings.

Frequently Asked Questions about angular-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Angular components using signals and OnPush change detection?

Use signals for component inputs and outputs with OnPush change detection to ensure predictable reactive behavior and efficient rendering in Angular standalone components.

What is the best way to create accessible standalone Angular components?

Create accessible Angular standalone components by implementing ARIA attributes, keyboard navigation, and host bindings within your component design. This approach ensures interactive elements remain usable across different assistive technologies and input methods.

How do I use content projection in Angular standalone components?

Use content projection in Angular standalone components to compose reusable UI elements like user-card or form-control components across pages. This pattern allows flexible content insertion while maintaining consistent component behavior and structure.

Does this Angular component pattern require specific TypeScript or npm tooling?

Building Angular v20+ standalone components with signals requires Angular, TypeScript, and npm tooling, with frontmatter metadata documenting component name and description for build and usage requirements.

Can I use signal-based inputs and outputs with Angular lifecycle hooks?

Yes, signal-based inputs and outputs work alongside Angular lifecycle hooks in standalone components. This combination allows you to manage reactive state transitions while responding to component initialization and destruction events.

Why should I use signals instead of decorators for Angular component inputs?

Signals provide predictable reactive behavior for component inputs and outputs compared to traditional decorators. They integrate natively with OnPush change detection, offering type-safe state management that triggers updates only when values actually change.