Input
Displays a native text input with ShardUI styling and Blazor form support.
Examples
Disabled
Use native HTML attributes like disabled and placeholder directly on the component.
Custom Styles
Use the Css parameter to extend the base input with Tailwind utilities.
Add utilities without replacing the default input styles.
Live Updates
Set Inmediate to bind on every keystroke instead of waiting for the input to lose focus. Pair it with BindAfter when you want to react after each update. If you choose Value and ValueChanged instead of @bind-Value, make sure you also provide ValueExpression.
Current value: input
With Forms
Because TextInput is built on Blazor's InputText, it works naturally with EditForm, validation, and the companion form components in this library.