Labels help users understand input fields.
@radix-ui/react-label
@lucide-reactInstall the following dependencies:
This component is based on the <div>
element and supports all of its props and adds:
Prop | Type | Default |
---|---|---|
required | boolean | false |
Displays a description, helper text, or additional information for the input. Usually appears below the main label.