Label

Form label for associating text with controls.

import { Label } from "@ps1ui/core";

With an input

<Label htmlFor="username">Username</Label>
<Input id="username" placeholder="koki" />

With a checkbox

<Stack direction="row" gap="sm" align="center">
  <Checkbox id="notify" />
  <Label htmlFor="notify">Send me notifications</Label>
</Stack>

Props

All native <label> attributes are also accepted.