Skip to main content

Label

The Label component renders a label for form inputs. It’s automatically used within input components but can be used standalone.

Usage

Props

string
required
The label text.
boolean
default:"false"
Whether to show a required asterisk (*).
string
ID of the input this label controls.

Examples

Custom Input Group