docs/components/feedback/ProgressBar

ProgressBar

Horizontal progress bar.

import { ProgressBar } from '@ybouhjira/hyperkit';

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#More Examples

Small

<ProgressBar value={45} size="sm" />

Medium

<ProgressBar value={75} size="md" />

#Props

PropTypeDefaultDescription
valuenumber0Progress value (0-100).
indeterminatebooleanfalseShow indeterminate/loading animation.
size'sm' | 'md' | 'lg''md'Size preset.
colorstring'var(--sk-accent)'Fill color (CSS color value).
classstringAdditional CSS classes.
unstyledbooleanfalseRemove all default styling classes.
'aria-label'string'Progress'Accessible label for screen readers.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-accent
  • --sk-bg-tertiary
  • --sk-duration-normal
  • --sk-ease-default
  • --sk-radius-md
  • --sk-space-sm
  • --sk-space-xs