Components
StageBar
A pipeline stage indicator — a Deal-stage Highlight bar.
The segmented pipeline bar from a Deal-stage Highlight: one segment per stage, each tinted with its stage colour, the current stage at full strength. Reports its state via role="progressbar".
Available since@crisp-ui-kit/crisp@0.11.0
Installation
npm install @crisp-ui-kit/crispProps
Prop
Type
Usage
import { StageBar } from "@crisp-ui-kit/crisp";
<StageBar
stages={[
{ label: "Lead", color: "#266df0" },
{ label: "In Progress", color: "#e0518f" },
{ label: "Won", color: "#22a565" },
]}
current="Won"
aria-label="Deal stage"
/>;current is the stage index or a matching label. Each stage's color defaults to the brand colour.