Skip to content
Home Theme Gallery

Label

A <label> at the library’s type and weight. It dims when the control it points at is disabled, through :has(+ :disabled) and [data-disabled].

A label and its control

For a label wired to a description and an error message, and to the control’s validity, use hui-field. This class is the label on its own.

.hui-label

A form label. Dims automatically when the next control is disabled.