Textarea
Displays a multi-line text input with ShardUI styling and Blazor form support.
Examples
Rows And Placeholder
Use native textarea attributes like rows, placeholder, and maxlength directly on the component.
Disabled
Disabled textareas keep the same structure and styling while clearly signaling that editing is unavailable.
Custom Styles
Use the Css parameter to layer in Tailwind utilities without replacing the base textarea styles.
Use utility classes to adapt the presentation to the surrounding layout.
Live Updates
Set Inmediate to update on every keystroke. If you use Value and ValueChanged instead of @bind-Value, you also need to supply ValueExpression.
Character count: 13
With Forms
Because TextAreaInput is built on Blazor's InputBase<string>, it works naturally with EditForm, validation, and the rest of the form components in this library.