Label
Accessible label tied to a control.
Import
tsx
import { Label } from "@cooud-ui/ui";
bash
npx cooud-ui add label
Accessible label tied to a control.
import { Label } from "@cooud-ui/ui";
npx cooud-ui add label
On this page
Tie a Label to an Input via matching `htmlFor` and `id`.
<div className="flex flex-col gap-1.5"><Label htmlFor="workspace">Workspace name</Label><Input id="workspace" placeholder="acme-inc" /></div>