Dev status bar
In reviewLive · 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} />}/>Parameters
Section titled “Parameters”| Prop | Type | Default | Description |
|---|---|---|---|
start | ReactNode | Leading segments (left-aligned). | |
end | ReactNode | Trailing segments (right-aligned). | |
ariaLabel | string | 'Status bar' | Accessible name of the bar region. Default "Status bar". |
className | string | Extra class on the bar. |
| Prop | Type | Default | Description |
|---|---|---|---|
label * | string | The segment text (chrome-muted at rest; full chrome ink on hover when interactive). | |
icon | ReactNode | Optional leading glyph (12px box; currentColor). | |
dot | StatusKind | Optional leading status dot, on the shared NockerlStatusDot semantic ladder. | |
kbd | string[] | Optional trailing keyboard hint(s), rendered as real NockerlKbd keycaps. | |
onSelect | (() => void) | undefined | Makes the segment a real button. Omitted = a plain informational span. | |
ariaLabel | string | Accessible name override (defaults to the label + kbd hint). |