An icon works when people learn it once and recognise it everywhere after that.
Use 16 px icons in the colour of the text, with a label, and the same icon for the same meaning everywhere.
Sizes
Pick the size from the text next to the icon.
| Size | Token | Use it for |
|---|---|---|
| 16 px | size.icon.default |
Default. Buttons, menus, tables, form fields, next to 14 px text. |
| 20 px | size.icon.medium |
Next to 16 px text, in toolbars and in the page header. |
| 24 px | size.icon.large |
An icon on its own, such as a status in a card or a small empty state. |
| 32 px | size.icon.empty |
Empty states only. |
Don’t use other sizes. Don’t scale an icon to fit a box: change the box.
16 px icon next to 14 px text.
A 24 px icon next to 14 px text, or an in-between size such as 18 px.
Stroke
Keep Lucide’s stroke. It is 2 units on the 24 grid and scales with the icon: 1.33 px at 16, 1.67 px at 20, 2 px at 24. Don’t set stroke-width or absoluteStrokeWidth. A fixed 2 px stroke fills in the small details of a 16 px icon.
Lucide’s own stroke, scaled with the icon (here at 24 px).
Changing the stroke width, or mixing widths.
Colour
An icon takes the colour of its text. Icons draw with currentColor, so an icon in a button or a link is right without extra code. Set a colour only with a color.icon.* token:
| Token | Light | Dark | Use |
|---|---|---|---|
icon | #42413F | #CDCCC9 | Default icon colour.Contrast 8.0:1 / 8.2:1 on background.selected |
icon. | #5F5E5B | #A8A6A3 | Secondary icons, next to text.subtle or text.subtlest.Contrast 5.7:1 / 6.0:1 on background.neutral |
icon. | #949390 | #6B6A67 | Icons of disabled controls. |
icon. | #FDFDFC | #181717 | Icons on background.neutral.bold and surface.inverse.Contrast 14.0:1 / 15.4:1 on background.neutral.bold |
icon. | #FFFFFF | #181717 | Icons on the solid status fills.Contrast 4.5:1 / 4.9:1 on background.danger.bold |
- Status icons use the status token, such as
icon.danger, and always sit next to the status in words. - Never give an icon a colour to decorate it, and never use the brand yellow for an icon.
Icon in the text colour, or a status icon next to the status in words.
Colour to decorate, or an icon in a colour below 3:1.
Alignment with text
Centre the icon on the line height of the text. Use display: flex; align-items: center. Next to several lines, centre the icon on the first line.
align-items: center).Icon centred on the line of text.
Icon sitting on the text baseline: it rides high.
Spacing
The gap between an icon and its text follows the text size: 4 px next to 14 px text or smaller, 8 px next to 16 px text or larger.
| Text | Icon | Gap | Token | Where |
|---|---|---|---|---|
| 12 or 14 px | 16 px | 4 px | space.050 |
Small and default controls, menus, tabs, table cells |
| 16 px or larger | 20 or 24 px | 8 px | space.100 |
Large controls, toolbars, the page header, a status in a card |
Set the gap on the control with gap, not with a margin on the icon.
space.050).space.100).Icon and label
Give an icon a label by default. The label says what happens; the icon helps people find it again.
Use an icon on its own only when all three are true:
- The action is well known: close, search, add, edit, delete, copy, refresh, settings, filter, more, menu.
- Space is tight, such as a table row or a toolbar.
- The button has a name (
aria-label) and a tooltip with the same words. See Accessibility.
Icon with a label. The label says what happens.
An icon on its own for an action people may not know.
Selected state
Lucide icons are outline only. Show a selected item with background.selected and the indicator bar, not by filling the icon.
Selected: the selected background and an indicator bar. The icon stays outline.
A filled icon as the only sign of the selected item.
Common actions
One icon per meaning. Use this icon whenever you show one of these actions or objects, in every product. If a meaning is missing, ask the design system team before you choose one, so it is added here.
| Meaning | Icon | Name | Note |
|---|---|---|---|
| Sync, refresh, retry | refresh-cw | Spins while a sync runs. | |
| Add, create | plus | ||
| Edit | pencil | ||
| Delete, remove | trash | Destructive: always with a label or a confirmation. | |
| Copy | copy | ||
| Search | search | ||
| Settings | settings | ||
| Filter | funnel | ||
| Close, dismiss, clear | x | ||
| More actions | ellipsis | Vertical (ellipsis-vertical) only at the end of a table row. | |
| Opens another site | external-link | ||
| Download, export | download | ||
| Upload, import | upload | ||
| Success, synced | circle-check | ||
| Warning | triangle-alert | ||
| Error, failed | circle-x | ||
| Info | info | ||
| Help | circle-question-mark | ||
| Connection | plug | Disconnected: unplug. | |
| Webhook | webhook | ||
| Store, sales channel | store | ||
| Order | receipt | ||
| Product | package | ||
| Inventory, warehouse | warehouse | ||
| User, account | user | ||
| Date | calendar | ||
| Time, schedule | clock |
One icon for one meaning, everywhere: refresh-cw for every sync.
Three icons for the same action on one screen.
Do and don’t
| Do | Don’t |
|---|---|
| Use 16, 20, 24 or 32 px. | Scale icons to other sizes. |
| Keep the icon in the text colour. | Colour icons to decorate. |
| Add a label to most icons. | Use an unfamiliar icon on its own. |
| Use the same icon for the same meaning. | Use a different icon in each product. |
| Use outline icons with a selected background. | Fill an icon to show it is selected. |
| Write the status next to a status icon. | Let an icon or its colour carry the status alone. |
| Use one icon per button. | Combine two icons into one action. |