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

<Label value="Email Address" required />

Props

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

Examples

Custom Input Group

<Col gap="xs">
  <Label value="Custom Field" required />
  <Input placeholder="Enter value..." />
</Col>