Content
textwith icontrailing iconrequired markeroptional hintWith controls
Press each label: it focuses, checks or toggles its control.
Input · aboveTextarea · aboveCheckbox · afterCheckbox · wrappedSwitch · afterRadioGroup · htmlFor groupSlider · htmlFor sliderDisabled
A label after a disabled peer control dims. A label before it is not a peer, so put the pair in a Field: there the label dims wherever it sits.
peer disabled · afterpeer disabled · beforeField · disabled control · beforeField disabled · beforeField disabled · wraps its controlgroup data-disabled=true · beforeLong text
wraps · max-w-xstruncate