Free Webinar β Building for Scale with Pion & Webflow
0.1.0
Progress Tracker
Multi-step progress tracker with animated progress bar and status indicators.
Multi-step progress tracker with animated progress bar and status indicators.
Features
- β Zero dependencies - Pure React implementation
- β Full accessibility - ARIA labels, keyboard navigation, screen reader support
- β Theme support - Light, dark, and auto modes
- β Reduced motion support - Respects user preferences
Props
steps
- Type:
string - Steps (JSON array)
currentStep
- Type:
number- Default:0 - Current step index (0-based)
orientation
- Type:
'horizontal' | 'vertical'- Default:'horizontal' - Orientation
showDescriptions
- Type:
boolean- Default:true - Show descriptions
clickable
- Type:
boolean- Default:false - Clickable steps
theme
- Type:
'light' | 'dark' | 'auto'- Default:'auto' - Theme mode
radius
- Type:
number- Default:8 - Border radius in pixels
density
- Type:
'comfortable' | 'compact'- Default:'comfortable' - Layout density
className
- Type:
string - Additional CSS class
onStepClick
- Type:
(index: number) => void - Step click handler
Customization
CSS Variables
Override these variables in your Webflow custom code or CSS:
--cc-radius: 8px; /* Border radius */Webflow Classes
Target these classes in Webflow Designer for custom styles:
.cc-progress-tracker.cc-progress-tracker__line.cc-progress-tracker__line-progress.cc-progress-tracker__step.cc-progress-tracker__step-content.cc-progress-tracker__step-description.cc-progress-tracker__step-icon.cc-progress-tracker__step-marker.cc-progress-tracker__step-title.cc-progress-tracker__steps