npm install @thrivecart/uiyarn add @thrivecart/uipnpm add @thrivecart/uibun add @thrivecart/uiimport { Label } from '@thrivecart/ui';Label associated with a text input
<div className="flex flex-col gap-1.5">
<Label htmlFor="email">Email address</Label>
<Input id="email" type="email" placeholder="you@example.com" />
</div>Every form input should have an associated label using the htmlFor attribute.
Use clear, short labels that describe the expected input.
Visible labels are essential for usability. Avoid visually hiding labels in favor of placeholders.
Keep labels brief. Use helper text for additional guidance.
<label> element for maximum compatibility.