Textarea
Overview
Usage
Examples
API
A textarea collects multi-line free-form text. RhombusKit's <rhombus-textarea> wraps Material's <textarea matInput>, adds a CDK-powered autosize mode, and routes its colour through the token contract so it re-skins with the active theme.
Example
When to use
- Use a textarea for longer, multi-line entry (a comment, a bio, a message) where line breaks and wrapping matter.
- When content length is unpredictable — set
[autosize]="true"so the field grows with what the user types instead of forcing a scrollbar.
When not to use
Related components
Was this page helpful?