Skip to content
GitHub
Browse the docs

Building blocks

Icons

153 duotone icons for accounting UI, drawn for 16 and 20 px on one grid and stroke. They take the colour of the text beside them, in the light and the dark theme. Search by name or by what an icon stands for ("voucher", "KID", "token"); press one to copy its import.

Run
pnpm add @booki-aui/icons

All icons

153 of 153 icons

AI and agents

Agent status

Documents and vouchers

File formats

Money and payments

Customers, suppliers and assets

Ledger and reports

Dates and periods

Approvals and status

Audit

Customer due diligence

Sales

App actions

Pages and layout

Use them

Import the named component for each icon you use, so a bundler brings in only those. Icons are decorative unless you give them a label; an icon that alone names a button needs aria-label and role="img". Keep them at 16 or 20 px, the sizes they are drawn for.

React
import { BanknoteIcon, BankIcon } from "@booki-aui/icons/react"

<BanknoteIcon />                                        // 16 px, decorative
<BankIcon size={20} aria-label="Bank account" role="img" /> // names a control
Any framework
import { iconSvg } from "@booki-aui/icons"

element.innerHTML = iconSvg("banknote")       // a complete <svg>, 16 px
element.innerHTML = iconSvg("banknote", 20)

The plain files are at @booki-aui/icons/svg/<name>.svg. <Icon name="…" /> takes the name as data, but brings every icon into the bundle.

Icon buttons an agent can read

A button with only an icon has no name, so an agent sees "button" and has to guess. IconButton from @booki-aui/react needs a label: it is the button's name and tooltip, the icon is hidden, and the agent presses it by those words. The readiness check flags icon-only buttons without one.

React
import { IconButton } from "@booki-aui/react"
import { TrashIcon } from "@booki-aui/icons/react"

<IconButton label="Delete line 2" icon={<TrashIcon />} data-agent-confirm="Deleting needs a person" />
// An agent presses it by its label: { ref: "Delete line 2", action: "press" }