Field
Label on top, control, hint below. Validates on blur, then live.
In use
Checked every 30 seconds
States
Shown below the control
Enter a full URL
Code
const { error, onBlur } = useBlurValidation(url, validate);
<Field label="Health check URL" hint="Checked every 30 seconds" error={error}>
<Input value={url} onChange={(e) => setUrl(e.target.value)} onBlur={onBlur} />
</Field>