Job board

item

One selectable option inside Select list, carrying a Checkbox, a Label text and a supporting Caption text, with Selected holding the value. Distinct from List item, which is a navigable row rather than a selectable option, and not placed directly on a screen.

Design
Finished
Level
Draft
Audit
2 open findingsat the audit of
Last changed

Preview

item, default variant as designeditem, default variant as designed
Default variant as designed, light modedark modeOpen in Figma

Not written in Figma yet: Usage and Don't. Both belong in the component's description.

Dependencies in Figma

Built fromUsed byCheckboxCheckboxSelect list - itemSelect list - itemSelect listSelect list

Built from

Level checks

Draft · next level blocked by Errors open

The ladder's checks for Select list
CheckLevelResult
AuditedReadyPasses
No errors openReady1 error open
Has a descriptionReadyPasses
Usage and Don't writtenReadyChecked at the next audit
Every layer namedReadyPasses
In codeReadyPasses
No warnings openStableNot yet
Code gen notes writtenStableChecked at the next audit
Auto layout throughoutStableChecked at the next audit
Matches the designStablePasses

Anatomy

123
Every option switched on: what the component can contain, not how it is usually used
#PartShownComponent
1CheckboxAlwaysCheckbox
2LabelAlways–
3CaptionAlways–

Properties

item: each property, its type, values and default
PropertyTypeValuesDefault
SelectedVariant
FalseTrue
False
DisabledVariant
FalseTrue
False
StateVariant
RestFocusHoverPress
Rest
Label textTextany textLabel
Caption textTextany textCaption

States

StateSet by
FocusInteraction
HoverInteraction
PressInteraction
SelectedThe Selected property
DisabledThe Disabled property

Implementation

What code builds differently from the drawing, and why
FigmaCodeWhy
Focus ring, a layer 4px outside the boxoutline on :focus-visible, outline-offset 4px less the ring's widthFigma has no focus state, so it draws the ring as a layer; in code it is not an element.
Selectedaria-selected, aria-pressed or checkedThe element's own selection state, by what the element is, so assistive technology announces it.
Disableddisabled, or aria-disabled where it must stay focusableThe element's own state: the browser keeps it out of the tab order and out of form submission.
State: Focus, Hover, Press:focus-visible, :hover, :activePseudo-classes the browser sets, so a template cannot claim a state the control is not in.

Changes on 4 Nov
ChangeTypeFigma filesCodeDetails
Label: text styleRestyledMinorMinor
Caption: text styleRestyledMinorMinor
Label: widthRestyledMinorMinor
Label: heightRestyledMinorMinor
Label: positionRestyledMinorMinor
Label: line heightRestyledMinorMinor
Label: letter spacingRestyledMinorMinor
Caption: widthRestyledMinorMinor
Caption: heightRestyledMinorMinor
Caption: position · 2 variantsRestyledMinorMinor
Caption: line heightRestyledMinorMinor
Caption: letter spacingRestyledMinorMinor

Changes on 19 Sept
ChangeTypeFigma filesCodeDetails
DescriptionDocsPatchPatch

Changes on 1 Sept
ChangeTypeFigma filesCodeDetails
Label: heightRestyledMinorMinor
Label: positionRestyledMinorMinor
Label: line heightRestyledMinorMinor
Caption: heightRestyledMinorMinor
Caption: positionRestyledMinorMinor
Caption: line heightRestyledMinorMinor

Changes on 21 Aug
ChangeTypeFigma filesCodeDetails
Its values movedRestyledMinorMinor
ComponentAddedMinorMinor