OpenProgram Docs

Icon system

Each family has a territory, so a screen never mixes filled and line glyphs by accident. Nobody hand-writes icon SVGs.

FamilyTerritorySource, license
Solar Bold DuotoneComposer area (chips, control row, plus menu, model and permission badges, effort pill, send), question and approval panel, timeline row tiles, action menus, DAG view controls and perspective stripapps/web/components/solar-icons, CC BY 4.0
pqoqubbw animated lineApp chrome: left rail, center tabs, sidebar, settings nav, function cards. No migration planned.apps/web/components/animated-icons, MIT
lucide-reactEverything static elsewhere: settings bodies, dialogs, timeline chevronlucide-react, ISC

Solar bodies are vendored from Iconify into bodies.ts by apps/web/scripts/icons/fetch-solar.mjs: extend ICONS, rerun, commit, so builds stay offline. Filled glyph plus a 50% lighter layer, chosen because line sets looked generic at 14 to 16px. The user's avatar comes from DiceBear; an Agent's is a character (Agent avatars).

Composer glyphs
RoleGlyph
Options trigger +tuning-2
Add filespaperclip
Tools, tool profilecase-minimalistic, settings-minimalistic
Web search, sandboxglobal, box-minimalistic
Unattended off, oneye, eye-closed
Thinking effort; Fast modefire; Fast turns it red
Chat model badgeProvider logo (brand mark), cpu without one
Channel chipChannel logo in brand colour (brand mark)
Agent badgeThe Agent's avatar, by the fill rule
Permission badgeshield-check
Local, web tab, goal, picture-in-picture chipsmonitor, earth, target, pip-2
Working folder, add folderfolder-with-files, add-folder
Project, missing projectfolder-open, danger-triangle
Menu check, close, caretscheck-circle, close-circle, alt-arrow-right, alt-arrow-down
Send, copyplain-2, copy
Model vision, video, tools, reasoningeye, videocamera, case-minimalistic (12px, its art fills the box), lightbulb-bolt
Git pill; new branch or worktree, worktree, PR, view PRgit-branch; add-circle, folder-path-connect, git-pull-request, square-arrow-right-up
File-change card title, rowspen-new-square, file-text
File-change undo, ReviewFont Awesome solid rotate-left, eye, with text. Solar's undo is a hairline at button size. Same script and table; viewBox in SOLAR_VIEWBOXES.

Toggles change glyph, not only colour: Unattended closes the eye, while-running shows a forward arrow for Steer and a queue list for Queue, a project with no folder shows the warning triangle.

Not Solar: Fast in the effort card keeps the animated gauge, needle rotated by active; ? in the effort card (effort picker) is static lucide CircleHelp at 14px.

The composer's fill rule

Applies inside the composer and its popups: chips, control row, menus, effort capsule, context-usage card, Goal dialog. Question and approval cards sit under the reply and keep their sizes.

Box
16 × 16px
Measure
The painted ink, not the view box
Scale
s = 16 / max(inkWidth, inkHeight)
Place
Ink centre on box centre
Hover
18 × 18px on the control's hover (HOVER_POP_FILL, 1.125)

A wide glyph is 16px wide (WeChat 16 × 13.1px), a tall one 16px high.

DrawingHow
SolarSolarIcon fit="fill" crops the view box to a square round the ink. Bounds in solar-icons/ink-bounds.ts, generated by rasterising bodies.ts (the 50% layer counts): npm run generate:solar-ink-bounds --workspace apps/web.
Brand logosBrandMark fit="fill", through ModelMark and ChannelLogo fit="fill", from brand-mark/ink-bounds.generated.ts
Agent charactersfit="mark", botMarkFit in components/avatar/bot/catalog.ts; body as ink. Uploaded picture, letter tile or DiceBear already fill the box and only pop.
Anything elseFillIcon (components/ui/fill-icon.tsx) crops an svg to geometry plus half stroke, fits an image or canvas whole. App icons and favicons are runtime rasters with no measured ink. The context ring only takes the hover.
Exceptions
  • Send plane: grows to 18px like the other composer glyphs, and does not glide.
  • Stop: 8 × 8px square in a 16px box.
  • Trailing chevrons, menu checks: static lucide at 16px.
  • Chip's sliding ×, capability marks, effort gauge and ?, drop overlay's paperclip: their own sizes.
  • Outside the composer a Solar glyph draws its whole view box (ink 20/24) and pops 1.12 (HOVER_POP).

Brand marks

Provider logos (public/images/providers) and channel logos (public/images/channels) are drawn only by BrandMark (apps/web/components/brand-mark). One-colour logos are masks in text or brand colour; coloured logos are the picture. Outside the composer: fit="contain", no hover motion.

PlaceSize
Sidebar channel rows14px
Command palette, Chats page16px
Settings plate, logo 2px inside20px lists, 16px routing overview, 40px provider page

Add a logo: add the file, run npm run generate:brand-ink-bounds --workspace apps/web. One test fails on a stale table; another when a component outside components/brand-mark draws a logo file.

Execution timeline

Each row starts with a 24px tinted tile (20px nested) holding a 13px glyph (11px nested), static (motionPreset="none") with no tooltip. presentTool() in components/chat/messages/execution/tool-presentation.ts picks the glyph; StepRow in execution-strip.tsx falls back by row kind.

Timeline glyphs
RowGlyph
Command (bash, write_stdin, terminal_use)programming
Execute codecode-square
Edit, write, patchpen-new-square
Read file, PDFfile-text
List folderfolder-open
Find files (glob)file-search
Search (grep, code search)magnifier
Code intelligence (LSP)structure
Web search, fetchglobal
Browser controlcursor
Generate, analyze imagegallery-add, gallery
Canvas, send file, message an agentplain-2
Sub-agent toolsghost
Read conversationbook
Ask the userchat-round-question-mark
Plan modemap
Scheduled jobscalendar
Run programbox
Use skillstars
Resource, memorydatabase
Todoschecklist
Worktreegit-branch
Self-updaterefresh
MCPplug-circle
Any other functionsledgehammer (Solar has no wrench)
Fallback: thinking, LLM, sub-agent, functionlightbulb-bolt, cpu, ghost, sledgehammer

Not type glyphs: a failed row's small stroked ✗, and the lucide ChevronRight.

Motion contract

PartContract
HandleAll families share AnimatedNavIconHandle (startAnimation, stopAnimation)
Hover targetThe container, never the 16px glyph. A Solar icon with no ref follows its nearest clickable ancestor: button, link, any menu item, listbox option, chip
Selector, pop scales, springcomponents/ui/hover-pop.ts, which Agent characters also use
Reduced motionAll motion stops under prefers-reduced-motion
WrapperSolarIcon renders the same span.inline-flex wrapper as the animated set

Presets

PresetEffect
pop (default)Scale 1.12; 18/16 for a filled composer glyph
nudgeCaret slides 1.5px right
pulseOne-shot pop-in when a menu item becomes checked
noneDecorative glyphs: menu checks, warning triangles, capability marks

The pqoqubbw icons redraw themselves (a wrench turns, an arrow bobs); a filled glyph cannot, hence the presets.

Attribution

Solar Icons © 480 Design, CC BY 4.0. The two Font Awesome glyphs: Font Awesome Free, © Fonticons, CC BY 4.0. Noticed in the header of bodies.ts and here.

Implementation status

StatusItems
ImplementedComposer on Solar (top-bar badges in components/chat/top-bar included), timeline tiles, the fill rule
Not yetFast as a state-driven gauge (needle low when off, sweeps high and accent-red when on); Solar question-circle in the effort card; user-facing credits entry for Solar
Last updated · 2026-11-25