Honorarium Threshold Widget
Component Detail
User Interface
medium complexity
frontendmobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Reusable progress indicator widget that renders a peer mentor's current assignment count versus the next honorarium threshold. Supports multiple threshold tiers (e.g., 3rd and 15th assignment) and highlights when a threshold has just been crossed.
honorarium-threshold-widget
Responsibilities
- Render progress bar from current count to next threshold
- Display all configured threshold tiers with labels and rates
- Highlight newly crossed thresholds with visual and semantic cues
- Support accessible ARIA attributes for screen readers
Interfaces
renderProgress(currentCount, thresholds)
highlightCrossedThreshold(thresholdId)
updateCount(newCount)
getAccessibilityLabel()
setThresholdConfig(config)
Related Data Entities (1)
Data entities managed by this component