@peopleapps-ui/angular
v19.2.0
Published
Accessible, token-driven Angular 19 UI component library — umbrella package
Maintainers
Readme
@peopleapps-ui/angular
Accessible, token-driven Angular 19 UI component library. Built with a single theme engine that powers every component through CSS custom properties — no runtime theme switching overhead and complete customization through design tokens.
Features
- Token-driven theming — Every visual property flows from a single set of CSS custom properties. Change one token, update the entire UI.
- Accessible by default — Built on Angular CDK primitives with proper ARIA attributes, keyboard navigation, and screen reader support.
- Tree-shakeable — Secondary entry points ensure you only ship what you use.
- Angular 19+ — Built with signals, standalone components, and the latest Angular APIs.
- Zero runtime cost — Theme engine compiles to pure CSS; no JavaScript theme switching at runtime.
Installation
npm install @peopleapps-ui/angularQuick Start
1. Register the theme engine
// app.config.ts
import { providePaTheme } from '@peopleapps-ui/angular/core';
export const appConfig = {
providers: [providePaTheme()],
};2. Import components
import { PaButton } from '@peopleapps-ui/angular/button';
import { PaInputText } from '@peopleapps-ui/angular/input-text';
import { PaSelect } from '@peopleapps-ui/angular/select';
import { PaIcon } from '@peopleapps-ui/angular/icon';
import { PaBreadcrumb } from '@peopleapps-ui/angular/breadcrumb';
import { PaCheckbox } from '@peopleapps-ui/angular/checkbox';
import { PaSwitch } from '@peopleapps-ui/angular/switch';
import { PaRadio, PaRadioGroup } from '@peopleapps-ui/angular/radio';
import {
PaFormField,
PaFormFieldLabelDirective,
PaFormFieldHintDirective,
PaFormFieldErrorDirective,
} from '@peopleapps-ui/angular/form-field';
import { PaTextarea } from '@peopleapps-ui/angular/textarea';
import { PaTooltipDirective } from '@peopleapps-ui/angular/tooltip';The root barrel (@peopleapps-ui/angular, no subpath) re-exports every symbol
from all entry points for consumers who prefer a single import.
Entry Points
| Import | Contents |
| ----------------------------------- | --------------------------------------------------------------------------------- |
| @peopleapps-ui/angular | Root barrel — re-exports all entry points below |
| @peopleapps-ui/angular/core | Theme engine, theme tokens, foundation scales |
| @peopleapps-ui/angular/button | PaButton component and its tokens |
| @peopleapps-ui/angular/input-text | PaInputText component and its tokens |
| @peopleapps-ui/angular/select | PaSelect (single and multiple selection), PaSelectIntl and its tokens |
| @peopleapps-ui/angular/icon | PaIcon component (renders icons you configure) |
| @peopleapps-ui/angular/breadcrumb | PaBreadcrumb component and its tokens |
| @peopleapps-ui/angular/checkbox | PaCheckbox component and its tokens |
| @peopleapps-ui/angular/switch | PaSwitch component and its tokens |
| @peopleapps-ui/angular/radio | PaRadioGroup and PaRadio components and their tokens |
| @peopleapps-ui/angular/form-field | PaFormField (label, hint, error and ARIA wiring for a control), tokens |
| @peopleapps-ui/angular/textarea | PaTextarea multi-line control with optional auto-resize, and its own tokens |
| @peopleapps-ui/angular/dialog | PaDialog service (open, confirm), layout components, PaDialogIntl, tokens |
| @peopleapps-ui/angular/tooltip | PaTooltipDirective ([paTooltip]), providePaTooltipDefaults and its tokens |
| @peopleapps-ui/angular/toast | PaToast service (show), PaToastRef, providePaToast, PaToastIntl, tokens |
Theming
The theme engine is built on CSS custom properties with three layers:
- Foundation tokens — Colors, spacing, typography scales
- Semantic tokens —
--pa-primary,--pa-primary-hover, etc. - Component tokens —
--pa-button-bg,--pa-input-border, etc.
The theme is written to a single <style data-pa-theme> inside
@layer pa-ui.theme. Your own CSS outside any layer wins over it, so you can
override any token at the :root level, or scope it to specific sections,
without !important:
:root {
--pa-primary: #0066cc;
}If your app also uses cascade layers, declare @layer pa-ui, app; before any
other rule so your layers come after the theme. Under a strict style-src CSP,
provide Angular's CSP_NONCE. Details are in the theming deep-dive below.
See the theming deep-dive for the full token architecture.
Upgrading from 19.1.x? 19.2.0 ships breaking theme changes in a minor release. Read the migration guide (Spanish) before updating.
Icons
pa-icon bundles no icon set. Map the semantic names you use to your own set
(Lucide, Flaticon, Font Awesome, inline SVG...) with
providePaTheme({ icons }):
providePaTheme({
icons: { search: { type: 'class', value: 'fa-solid fa-magnifying-glass' } },
});The library only knows the names it renders itself, chevron-down and
ellipsis (both have an internal fallback). Register every other name you use
by augmenting the empty PaIconRegistry interface; it then type-checks as
PaIconName everywhere:
declare module '@peopleapps-ui/angular/core' {
interface PaIconRegistry {
search: true;
rocket: true;
}
}Your app installs the set, loads its CSS and complies with its license. See the icons guide.
Peer Dependencies
{
"@angular/common": "^19.2.0",
"@angular/core": "^19.2.0",
"@angular/cdk": "^19.2.0",
"@angular/forms": "^19.2.0"
}Links
- Repository — Source code and work items
- Documentation — Architecture, theming, testing, and contributing guides
License
Proprietary. Copyright (c) 2026 People Apps. All rights reserved.
