Skip to main content

FormLabel

FormLabel can be used for adding label for your input fields. Twigs also comes with a FormInput component, which wraps Label and Input in a single component.

Import

import { FormLabel } from "@sparrowengg/twigs-react";

Usage

Result
Loading...
<FormLabel> Email Address </FormLabel>

Props

PropertyDescriptionTypeDefault
sizeSize of the FormLabelxs smsm
requiredIndicatorShow required indicator next to labelboolean, JSX Elementfalse