Commands

Progress

The progress becomes the button itself: the background fills as the job runs, so there is no extra bar and every command in the deck keeps one height. progressStyle picks one of four; the tint fill is the default.

progressStyletint (default), ink, cells or phase
statusidle, queued, running, done or failed; running while progress is set
progress, phase0 to 100, and the small word inside (OCR, Queued)
phases, cellstick positions for the phase rail; cell count for LED cells (12)
<ProgressButton
  label="Analyze"
  progress={64}
  progressStyle="ink"
  onClick={analyze}
/>