Skip to content

Iconography

Lucide icons at the brand stroke weight, the brand arrow, the state square, and when an icon is better left out.

The brand draws every icon with one stroke: no fill, round caps and joins, 1.5 to 1.8 wide. The brand also says no icon library, and shadcn components need one. The system settles it by using Lucide, set once at the brand weight in app/globals.css, and by shipping the brand's own arrow and square as components.

Lucide at the brand stroke

Import icons from lucide-react with the Icon suffix, as the components do (PlusIcon, SearchIcon). A base rule in globals.css sets stroke-width: var(--icon-stroke) on every svg.lucide, and --icon-stroke is 1.6. Do not pass strokeWidth to an icon: change the variable, and every icon follows.

VariableValueApplies to
--icon-stroke1.6Every Lucide icon
--arrow-stroke1.7BrandArrow
--state-square8pxStateSquare size
--state-square-outline1.5pxStateSquare outline

Sizes

Icons are sized with size-* classes on a 4px scale. Inside a button, an icon takes the size the component gives it: 16px, or 12px in an xs button. Mark it data-icon="inline-start" or data-icon="inline-end" so the button adjusts its padding, and never size it yourself there.

size-4, 16px
size-5, 20px
size-6, 24px
size-7, 28px
WhereSize
Inside a control, beside text16px, set by the component
Stand-alone, in a list or a row20px (size-5)
An empty state or a feature24px (size-6) to 28px (size-7)

An icon button has no visible text, so it needs an aria-label. An icon never carries meaning alone.

The brand arrow

BrandArrow is the brand's one recurring icon: it sits at the end of a primary button and after a text link. It is a 20px box drawn at --arrow-stroke, in currentColor.

import { BrandArrow } from "@/components/brand/brand-arrow"
<Button>  Request a demo  <BrandArrow data-icon="inline-end" /></Button>

The brand says the arrow nudges 4px on hover. The system does not apply this: motion beyond native component transitions is out of scope (see Motion).

The state square

An 8px square does most of the signalling. Put it before a word to give a state. StateSquare from @/components/brand/state-square has four states:

StateLookMeans
doneFilled inkDone
waitingFilled crimsonWaiting on a person
plainEmpty 1.5px outlinePlain, or weak
offFilled greyOff

Pass label when the square stands alone so a screen reader gets the state; without it the square is hidden from assistive technology and the word beside it carries the meaning. A screen shows one crimson square at most.

Read the case
Done Waiting on a person Plain Off

When an icon is not needed

Where an icon would only decorate, use the square or nothing. A button with a clear verb needs no icon. A sentence needs none. Icons earn a place when they speed up scanning of a toolbar, mark an action that repeats on every row, or stand in for a word in a tight space.

Order BRV-2042 waits on Luca.

Do

Let a clear verb do the work.

Order BRV-2042 waits on Luca.

Don’t

Don’t put an icon in front of every word.

No emoji, and no icon font. If you need a glyph Lucide does not have, draw it as inline SVG with fill="none", stroke="currentColor", round caps and joins and one stroke width.

  • Colour for the colours of the state square.
  • Button for icon buttons and icon placement.