Text Field
A text field allows a user to enter a plain text value with a keyboard.
Installation
CLI
Manual
npx hq-kit add text-field
State
Preview
Code
Prefix & Suffix
Preview
Code
Suffix with Button
Preview
Code
Password Visibility
If you pass password
as the type
prop, the text field will add button to toggle the visibility of the password.
Preview
Code
Controlled
Preview
Code
value: ""
Validation
Preview
Code