Agents
Confidence Bar
A labelled bar for how sure the agent is. Green above 80, amber above 50, red at 50 and below.
Group: Agents. Exports: ConfidenceBar. Halaska addition with no shadcn/ui equivalent.
Usage
import { ConfidenceBar } from "./halaska-kit";
ConfidenceBar props
valueany: The controlled value.labelstring: Visible label.
Accessibility
- The bar has the meter role with its value, named by a string label or "Confidence".
- The percentage is always printed as text beside the bar, so the value does not depend on colour.
- Not focusable. The hover effect is decorative.
Used in
Halaska UI · Components · Patterns · Screens · Install