Skip to content

Input

Retrieve text input from a user.

Code Editor
Code Editor
Code Editor

Prefix and suffix styling can be disabled, preferably only for icons.

https://.com
vercel/
Code Editor
https://.com
vercel/
Code Editor

Automatically show a clear button if a value is entered.

https://
Error:A valid email address is required.
Code Editor

Automatically clears the input if Escape is pressed.

Error:A valid email address is required.
Code Editor
Code Editor

Automatically sets type="error" if an error is passed. Uses the Error component.

Error:A valid email address is required.
Error:A valid email address is required so that we can verify your GitHub installation. In the event that you cannot provide a valid email address, please contact support.
Error:A valid email address is required so that we can verify your GitHub installation. In the event that you cannot provide a valid email address, please contact support.
Error:A valid email address is required so that we can verify your GitHub installation. In the event that you cannot provide a valid email address, please contact support.
Error:A valid email address is required so that we can verify your GitHub installation. In the event that you cannot provide a valid email address, please contact support.
Code Editor
Code Editor