XS
Small
Medium (Default)
Large
XL
2XL
Extra Small
Small
Medium (Default)
Large
XL
2XL
2 Categories
3 Categories
4 Categories
5 Categories
6 Categories
7 Categories
2 Categories
3 Categories
4 Categories
5 Categories
No Gap
Small Gap (2px)
Medium Gap (4px)
Large Gap (8px)
With Labels (Default)
Without Labels
With Marker
With Tooltip
Animated Marker
Current Allocation
Development Progress
Current Allocation
Legend Highlight
2 Segments (Left/Right Aligned)
Small Size with Labels
3 Segments (Center Aligned)
Color Change on Hover
Always Visible
Custom Label Colors
Parent Hover Trigger
Basic Usage with Labels
<ProgressCategory
values={[40, 60]}
labels={["Short 40%", "Long 60%"]}
segmentLabelVisibility="hover"
/>Parent Component Hover
// In a parent component like TrendRow
<div className="group">
<ProgressCategory
values={[30, 45, 25]}
labels={["Buy", "Hold", "Sell"]}
segmentLabelVisibility="hover"
segmentHoverTrigger="parent"
/>
</div>