Input
Text input. Source: Figma {FKInput} (12:68514) — 81 variants across many
axes. This v1 covers the core Default feature; specialized features
(Numeric, Phone, ID, Encrypted PIN, Multi-line, Extensions) will ship as
separate components.
Live preview
Onay linki bu adrese gönderilecek
Geçersiz e-posta
Sizes
Specialized variants
Three drop-in specialized components mirror Figma’s FKInput feature axis:
SMS doğrulama kodu
PIN (masked)
PhoneInput API
PasswordInput API
Extends all Input props except type (fixed to password) and rightIcon (replaced by the visibility toggle).
PinInput API
Supports paste (whole code paste splits across boxes), backspace-to-previous, and ArrowLeft/Right nav.
States
- Inactive — resting; bg
blueGray.200. - Focus / Typing — active; bg lightens to
blueGray.400. - Done — filled but blurred (visually same as Inactive currently).
- Error — 1px red border (
red.600) + red error message. - Disabled — non-interactive; muted text color.
Accessibility
- Native
<input>— full keyboard, focus, screen reader support. - Label uses
<label htmlFor>for click-to-focus and screen reader association. - Error text is linked via
aria-describedbyand setsaria-invalid="true".