Textarea
Native textarea styled with the blocTextarea directive.
Keyboard: native browser. ARIA: aria-invalid set automatically on error state.
$ npm install @bloc-ui/core
Basics
Basic
Multi-line text entry with native resize.
0 characters
Disabled
Non-interactive state for read-only flows.
Validation
Error, manual
Force the error style with [error].
Error, FormControl
Driven by invalid && touched. Enter fewer than 20 characters and blur.
Angular Forms
Two-way binding
Bound with [(ngModel)].
Characters: 0
formControlName
Works inside a FormGroup the same way inputs do.
Remaining: 180
Theming
Custom tokens
Override size and shape with CSS custom properties.