Label

Low-level label primitive that renders an HTML label.
Access to Fuegokit npm packages, source code repositories, and some content is limited to Appfire staff. Log in with Slack to continue.

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

NameTypeDefaultDescription
disabled
boolean
falseWhether the label should have disabled styles applied.
monospace
boolean
falseWhether 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.

See also