Angular UI Controls
23 standalone Angular UI components built with Angular Material for Angular 20 forms and data-entry screens. Includes text and number inputs, searchable and grouped selects, date and time controls, file upload, a rich-text editor, and a PDF viewer. Form controls integrate with Angular Forms.
Install
In your Angular 20 application, install the current release candidate from npm. The peer dependency ranges are listed in the package manifest.
npm install angular-ui-controls@next
Set up your app
Keep your existing Angular Material theme. If you need one, add a prebuilt theme to the application's styles array in angular.json, before your application stylesheet.
"styles": [
"node_modules/@angular/material/prebuilt-themes/azure-blue.css",
"src/styles.scss"
]
Add the following providers to your standalone app configuration. Reuse any matching providers already configured by your app. If you already use ngx-translate, keep your current language and loader configuration.
// app.config.ts
import { provideHttpClient } from '@angular/common/http';
import { ApplicationConfig } from '@angular/core';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { provideTranslateService } from '@ngx-translate/core';
export const appConfig: ApplicationConfig = {
providers: [
provideHttpClient(),
provideAnimationsAsync(),
provideTranslateService({ lang: 'en', fallbackLang: 'en' }),
],
};
Quick start
Add a text input and searchable select to a standalone component. Use a unique inputId for each instance.
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { SearchableSelectComponent } from 'angular-ui-controls/forms';
import { TextInputComponent } from 'angular-ui-controls/text-input';
@Component({
selector: 'app-profile-form',
imports: [FormsModule, TextInputComponent, SearchableSelectComponent],
template: `
<ui-text-input inputId="full-name" label="Full name" [(ngModel)]="fullName" />
<ui-searchable-select
inputId="department"
label="Department"
[options]="departments"
[hideAllOption]="true"
[(ngModel)]="department"
/>
`,
})
export class ProfileFormComponent {
fullName = '';
departments = ['Engineering', 'Design', 'Support'];
department: string | null = null;
}
For reactive forms, import ReactiveFormsModule and use [formControl] or formControlName. For standalone value binding, use [(value)]. Use one binding approach per control. When using ngModel inside a <form>, give the control a unique name.
Component catalog
Import any component from angular-ui-controls. For a smaller entry point, use angular-ui-controls/text-input for the text input or angular-ui-controls/forms for the text input and searchable select.
| Component |
Selector |
Use |
Reference |
TextInputComponent |
ui-text-input |
Single-line text |
API |
NumberInputComponent |
ui-number-input |
Numeric values |
API |
PasswordInputComponent |
ui-password-input |
Password entry with a visibility toggle |
API |
SearchInputComponent |
ui-search-input |
Search box with a search action |
API |
SearchFilterComponent |
ui-search-filter |
Search box with a category filter |
API |
AutocompleteComponent |
ui-autocomplete |
Suggestions while typing |
API |
SearchableSelectComponent |
ui-searchable-select |
Searchable option list |
API |
AdvancedSelectComponent |
ui-advanced-select |
Grouped options and multiple selection |
API |
DatePickerComponent |
ui-date-picker |
Single date |
API |
DateRangePickerComponent |
ui-date-range-picker |
Start and end dates |
API |
DateTimePickerComponent |
ui-date-time-picker |
Date and time in one control |
API |
TimePickerComponent |
ui-time-picker |
Time of day |
API |
TimeInputComponent |
ui-time-input |
Separate hour and minute inputs |
API |
CheckboxComponent |
ui-checkbox |
Boolean selection |
API |
SlideToggleComponent |
ui-slide-toggle |
On/off setting |
API |
RadioGroupComponent |
ui-radio-group |
One choice from a set |
API |
SegmentedControlComponent |
ui-segmented-control |
A compact row of choices |
API |
SelectionListComponent |
ui-selection-list |
A list of selectable items |
API |
FileUploadComponent |
ui-file-upload |
Local file selection |
API |
ActionMenuComponent |
ui-action-menu |
A menu of actions |
API |
TextAreaComponent |
ui-text-area |
Multiline text with optional highlighting |
API |
RichTextEditorComponent |
ui-rich-text-editor |
Editing formatted HTML |
API |
PdfViewerComponent |
ui-pdf-viewer |
An embedded PDF preview |
API |
Each API page covers the component’s inputs, outputs, payloads, and public members. The same Markdown files are included in the npm package under docs/api. Browse the complete API
Select controls
For options shaped like { id: 1, name: 'Engineering' }, set labelKey="name" and valueKey="id". Use [grouped]="true", groupLabelKey, and groupChildrenKey for grouped advanced-select data. Set [multiple]="true" for multi-selection. [itemSize] sets the fixed virtual row height in pixels.
Rich-text editor
Add node_modules/ckeditor5/ckeditor5.css to your application's global styles. The control reads and writes HTML strings. Configure [licenseKey] for your CKEditor usage. CKEditor is licensed separately from this library. CKEditor licensing
PDF viewer
Pass a trusted document URL through [pdfUrl]. Supported schemes are HTTP, HTTPS, and blob. Relative paths resolve against your app's base URL. The viewer embeds the URL in an unsandboxed iframe and does not validate the response as a PDF.
Source and support
License
MIT. Third-party dependencies retain their own licenses.