Selection pill
No purpose or usage written yet: the component's Figma description is empty.
- Design
- Finished
- Level
- Draft
- Audit
- 6 open findingsat the audit of
- Last changed
- Resources
- Figma Propose a change
Preview


Dependencies in Figma
Built from
Used by
Level checks
Draft · next level blocked by Errors open, No description
| Check | Level | Result |
|---|---|---|
| Audited | Ready | Passes |
| No errors open | Ready | 4 errors open |
| Has a description | Ready | Not yet |
| Usage and Don't written | Ready | Checked at the next audit |
| Every layer named | Ready | Passes |
| In code | Ready | Passes |
| No warnings open | Stable | Not yet |
| Code gen notes written | Stable | Checked at the next audit |
| Auto layout throughout | Stable | Checked at the next audit |
| Matches the design | Stable | Passes |
Anatomy
| # | Part | Shown | Component |
|---|---|---|---|
| 1 | Checkbox | Always | Checkbox |
| 2 | Label | Always | – |
Properties
| Property | Type | Values | Default |
|---|---|---|---|
| Selected | Variant | FalseTrue | False |
| Disabled | Variant | FalseTrue | False |
| State | Variant | RestFocusHoverPress | Rest |
| Label text | Text | any text | Label |
States
| State | Set by |
|---|---|
| Focus | Interaction |
| Hover | Interaction |
| Press | Interaction |
| Selected | The Selected property |
| Disabled | The Disabled property |
Implementation
| Figma | Code | Why |
|---|---|---|
| Focus ring, a layer 4px outside the box | outline on :focus-visible, outline-offset 4px less the ring's width | Figma has no focus state, so it draws the ring as a layer; in code it is not an element. |
Selected | aria-selected, aria-pressed or checked | The element's own selection state, by what the element is, so assistive technology announces it. |
Disabled | disabled, or aria-disabled where it must stay focusable | The 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, :active | Pseudo-classes the browser sets, so a template cannot claim a state the control is not in. |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Content: fill | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Content: width | Restyled | Breaking | Minor | |
| Label: width | Restyled | Breaking | Minor | |
| Label: height | Restyled | Breaking | Minor | |
| Label: position | Restyled | Breaking | Minor | |
| Option select - Selection pill: width | Restyled | Breaking | Minor | |
| Focus ring: width | Restyled | Breaking | Minor | |
| Label: text style | Restyled | Minor | Minor | |
| Label: line height | Restyled | Minor | Minor | |
| Label: letter spacing | Restyled | Minor | Minor |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Component | Added | Minor | Minor |