Low-level native label element.
Import
import { Label } from "@fuegokit/react";
Usage
Labels identify form controls, including text fields, checkboxes, radio buttons, and drop-down menus.
Props
Label
Name | Type | Default | Description |
---|---|---|---|
disabled | boolean | false | Whether the label should have disabled styles applied. |
monospace | boolean | false | Whether the label should be monospace. |
testId | string | Unique string that appears as a data attribute in the rendered code for `data-testid`. | |
UNSAFE_className | string | Use only as a last resort. | |
sx | SystemStyleObject | The sx prop allows ad-hoc styling that is theme aware. It is used by UI libraries to allow users to apply inline styles to a component while still ensuring that the component is theme-aware. |