Input
A 60px text field with its label above and hint below, in four types: Multi-Purpose, Search, Password and Web Link. Square or pill, flat or with a shadow.
As it appears on your ID.
This is a hint text to help user.Info Here
Add an empty Orvain Input titled “Field Title”, required, with the description “As it appears on your ID.”, the placeholder “Placeholder text...”, a “Verify” button and the hint “This is a hint text to help user.”
When to use#
- For short free text: a name, an email, a search, a URL.
- The Password type for secrets, with a button that shows or hides them.
- The Web Link type for a URL that can be copied or verified in place.
When not to use
- Use a Text Area for more than one line of text.
- Use a Dropdown to choose from a known list.
Anatomy#
Above the field, 4px away: the title, a red * when required, (Optional), and an info glyph.
60px tall, radius 16 (256 as a pill), a 1px #e1e1e1 stroke inside, 18px in on the left and 12 on the right.
Per type: search, lock or link, in #8f8f8f.
Password: show and hide. Web Link: copy, and a 40px Verify button.
The footnote below, 4px away.
States#
The stroke darkens one step on hover.
A near-black stroke, and the focus ring on keyboard focus.
The value in #2a2a2a.
A red stroke and a red hint.
A grey fill without a stroke; Disabled mutes the text as well.
Source#
The Input ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.
Used in these blocks

