Skip to content

Dev status bar

In review
Live · web

Pinned to the console bottom: quiet segments, opt-in interactivity

agent · streaming
Ln 42, Col 7UTF-8

Picked nothing yet · 0 clicks. Dotted state is informational, keys are real buttons. The island is live.

The web console’s ambient strip (WS5, agent-console epic): branch, agent/job state, cursor position, keyboard hints. All of it is reading-scale CHROME, deliberately not the Toolbar’s control-scale grammar. Segments are quiet spans by default; give one onSelect and it becomes a real button (hover wash + ink + focus outline); nothing looks pressable unless it is. State rides the shared StatusDot ladder; hints are real Kbd keycaps.

import { NockerlDevStatusBar, NockerlDevStatusSegment } from '@dizyx/nockerl-react';
<NockerlDevStatusBar
start={
<>
<NockerlDevStatusSegment icon={branchIcon} label="main" onSelect={openBranches} />
<NockerlDevStatusSegment dot="info" label="agent · streaming" />
</>
}
end={<NockerlDevStatusSegment label="Palette" kbd={['', 'K']} onSelect={openPalette} />}
/>
PropTypeDefaultDescription
startReactNodeLeading segments (left-aligned).
endReactNodeTrailing segments (right-aligned).
ariaLabelstring'Status bar'Accessible name of the bar region. Default "Status bar".
classNamestringExtra class on the bar.
PropTypeDefaultDescription
label *stringThe segment text (chrome-muted at rest; full chrome ink on hover when interactive).
iconReactNodeOptional leading glyph (12px box; currentColor).
dotStatusKindOptional leading status dot, on the shared NockerlStatusDot semantic ladder.
kbdstring[]Optional trailing keyboard hint(s), rendered as real NockerlKbd keycaps.
onSelect(() => void) | undefinedMakes the segment a real button. Omitted = a plain informational span.
ariaLabelstringAccessible name override (defaults to the label + kbd hint).