- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Input
Renders a form input field
Was this example helpful?
Usage#
API Reference#
This component is based on the input
element and supports all of its props
Prop | Type | Default |
---|---|---|
size | "base" |
Was this page helpful?
Examples#
Password#
Was this example helpful?
Search#
Was this example helpful?
Disabled#
Was this example helpful?
Small#
Was this example helpful?
Error state#
You can leverage the native aria-invalid
property to show an error state on your input:
Was this example helpful?