Angular Forms Library | ng-hub-ui-forms
Accessible Angular form fields (input, textarea, slider, select, datepicker) with automatic control/group/form error display, reactive forms and CSS variables.
Interactive examples
Explore live examples that show how the library behaves in common Angular use cases.
Text fields
The `hub-input` field with reactive-forms binding and automatic, zero-wiring error display. Text, email, password, number and counter, plus floating labels and input-group addons.
Text fields & auto-errors
Password fields — toggle, strength meter & autocomplete
Number, counter, color, switch, checkbox
Input groups, file & floating label
Icons, buttons and fields attached to a field
Pattern masks (card, IBAN, phone, date)
One-time-code (OTP) input
Search box with icon & typeahead
Debounced term (after 300 ms): —
- Angular
- React
- Vue
- Svelte
- Solid
- Qwik
- Preact
- Lit
Multiline & range
Auto-growing textareas with character counters, and single / dual-thumb range sliders.
Textarea with counter & autoresize
Slider & dual-thumb range
Slider styling (gradient & flush)
Selection
The forked ng-select engine themed with hub tokens, plus the button, radio and checkbox formats that render their own UI for the same value.
Segmented control
Segmented: Custom Option Template
Select & multiselect
Grouped options
Typeahead & search
Select: Async Typeahead
Custom option & label templates
Buttons, radio & checkbox formats
Select inside a modal
Addons & attached actions
Date picking
A from-scratch date / range picker on native Date + CDK Overlay, with bounds, keyboard navigation and full i18n.
Timepicker — a time of day
Datepicker & range
Datepicker with time
Granularity: year to second
Input, value & display formats
Day with a time range
File upload
A file field with drag & drop, clipboard paste, type and size constraints, previews, and optional per-file upload progress.
Single file & validation
Drag & drop, limits & previews
Upload progress, cancel & retry
Containers & validation
`form[hubForm]`, `hub-fieldset` and `hub-legend` surface group-level and form-level (cross-field) errors automatically — the same way fields surface control errors.
Containers & cross-field errors
Right-to-left
Every field mirrors under `dir="rtl"`. Most of that costs nothing — the primitives are written in logical CSS properties — but the slider, the switch and the segmented control needed explicit handling, because their geometry is only half CSS.
Right-to-left — every field mirrored