Skip to main content
NeuralUIv1.14.3New
GitHub
Component

Form Controls

Textarea, Switch, Checkbox and Radio with ControlValueAccessor.

Angular 21 + Reactive FormsIf a NeuralUI control is bound with formControl or formControlName, avoid toggling [disabled] from the template. Initialize or change the disabled state through the FormControl itself to avoid the Angular 21 validation warning.
TypeScript
import { ReactiveFormsModule, FormBuilder } from '@angular/forms';
import { NeuCheckboxComponent } from '@neural-ui/core/checkbox';
import { NeuRadioGroupComponent, NeuRadioComponent } from '@neural-ui/core/radio';
import { NeuSwitchComponent } from '@neural-ui/core/switch';
import { NeuTextareaComponent } from '@neural-ui/core/textarea';

neu-textarea

Text area with floating label, optional auto-resize and full Angular Forms support.

This field is required

neu-switch

Animated toggle compatible with Angular Forms. Ideal for enabling/disabling options.

neu-checkbox

Animated checkbox with full Angular Forms support.

neu-radio-group

Single-selection option group with full Angular Forms support.

Selected value: system