FormHelperText
FormHelperText can be used for providing additional context to your input fields.
Import
import { FormHelperText } from "@sparrowengg/twigs-react";
Usage
Result
Loading...
Live EditorOpen in playground
<FormHelperText> Password should have a minimum length of 6. </FormHelperText>
Pair with Input
Result
Loading...
Live EditorOpen in playground
<> <Input placeholder="password" type="password" /> <FormHelperText> Password should have a minimum length of 6. </FormHelperText> </>
Props
Property | Description | Type | Default |
---|---|---|---|
size | font size of the FormLabel | xxs xs sm md lg | xs |
weight | font weight | regular medium bold | regular |