Interactive icon
An interactive icon is an icon that acts as a control, with the target size and the states a plain icon has none of. Icon swap supplies the glyph.
- Design
- Finished
- Level
- Stable
- Audit
- Nothing openat the audit of
- Last changed
- Resources
- Figma Propose a change
Preview


Usage
Do
- Use wherever an icon is clickable and no label sits beside it
- Give it an accessible name in code — the glyph carries no text
- Use a plain icon from the
❖ Iconpage when the mark is decorative or already labelled
Don't
- Make a bare icon from the
❖ Iconpage clickable: that is what this component exists for - Use where a label would fit: use
Buttonwith itsIconboolean
Behaviour
State(Focus,Hover,Press) andDisabledare managed by code and not applied in static designs
Composition
- The glyph is supplied through the
Icon swapprop; import the icon component rather than redrawing it
Dependencies in Figma
Used by
Places 1 component from another library: Icon/x / Size=20. This snapshot does not hold them, so this page cannot link to them or describe them.
Level checks
Stable
| Check | Level | Result |
|---|---|---|
| Audited | Ready | Passes |
| No errors open | Ready | Passes |
| Has a description | Ready | Passes |
| Usage and Don't written | Ready | Checked at the next audit |
| Every layer named | Ready | Passes |
| In code | Ready | Passes |
| No warnings open | Stable | Passes |
| 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 | x | Always | x |
Properties
| Property | Type | Values | Default |
|---|---|---|---|
| Disabled | Variant | FalseTrue | False |
| State | Variant | RestFocusHoverPress | Rest |
1 instance swap (icons and parts a designer can replace)
- Icon swap
States
| State | Set by |
|---|---|
| Focus | Interaction |
| Hover | Interaction |
| Press | Interaction |
| 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. |
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 |
|---|---|---|---|---|
| Description | Docs | Patch | Patch |
| Change | Type | Figma files | Code | Details |
|---|---|---|---|---|
| Nested component renamed (5 layers) | Not graded | Not graded | Not graded | |
| Its values moved | Restyled | Minor | Minor | |
| Component | Added | Minor | Minor |