Get badge variant based on risk level
This utility helps visualize risk levels consistently across the application, enabling users to quickly identify the severity of risks through color-coded badges. The visual consistency reinforces risk communication standards. 📊
String representing the risk level
Badge variant name for styling
Get badge variant based on risk level
Business Perspective
This utility helps visualize risk levels consistently across the application, enabling users to quickly identify the severity of risks through color-coded badges. The visual consistency reinforces risk communication standards. 📊