Skip to content

Text Field

The TextField component is a flexible, accessible text input for forms, search bars, or any place you need typed input.

  • Variants: Multiple visual styles (outlined, filled, etc.).
  • Sizes: Configurable for compact or large input fields.
  • Labels: Supports descriptive labels for accessibility.
  • Full reactivity: Bind values and react to changes in real-time.
contained (sm)


outlined (md)


text (lg)


PropTypeDefaultDescription
labelstringText label displayed above or inside the input.
variant"filled" | "outlined""filled"Visual style of the text field.
size"sm" | "md" | "lg" | "xl""md"Controls the input’s dimensions.
valuestring""The current input value; supports two-way binding.
disabledbooleanfalseDisables the input when true.
placeholderstringPlaceholder text inside the input.
  • Works with form validation and accessibility features.
  • Supports reactive bindings for state management.
  • Can be combined with icons, helper text, and adornments for enhanced UX.