Label API
- Component status:
-
deprecated
Import
Section titled “Import”import { Label } from "@stratakit/bricks";// ORimport Label from "@stratakit/bricks/Label";Label Deprecated
Section titled “Label Deprecated ”
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).