Skip to content

Label

Label for react-aria-components fields (TextField, Select, Checkbox, RadioGroup). RAC links label/control ids through its own field context, so fields render this inside the field element. Token-driven: type and color come from the host theme, so a rebrand is a token change — never an eject.

import { Label } from "@evolve-storefront/ui/label";

Preview

DefaultOpen in Storybook ↗

Usage

<TextField name="email">
<Label>{t("email")}</Label>
<Input />
</TextField>;

Props

No props of its own.