Label API
- Component status:
-
stable
Import
Section titled “Import”import { Label } from "@stratakit/bricks";// ORimport Label from "@stratakit/bricks/Label";
Base element:
<label>
A styled wrapper over the HTML <label> element, used for labelling form
controls.
Example usage:
<Label htmlFor="my-input">Label</Label><TextBox.Input id="my-input" />See Field.Label for convenient usage with form controls (e.g. automatic
association with adjacent form control).