InputField
Core input functionality without the complexity of icons, addons, or a label: focus-state management, an error message, and helper text. Use it when you don't want Field's built-in label.
React Native
import { InputField } from '@hoverinc/design-system-react-native';
<InputField placeholder="Enter your email" onChangeText={setEmail} />;Common Mistakes
- Don't reach for
Fieldwith an empty-stringlabelto get an unlabeled-looking input —Fieldalways reserves the label's layout space even when the label text is empty, which produces a visible gap above the input. UseInputFieldinstead; it has no label slot at all. errorMessagerenders regardless ofisInvalid— passing anerrorMessagealone shows it even if you haven't setisInvalid. Pass both together if you want the invalid-styled input and the message; anerrorMessagewith noisInvalidshows the text without the invalid styling, which is rarely what you want.isFocusedis a controlled-focus prop, not a read-only indicator — passing it drives the component's focus state rather than just reflecting it.