smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Display and status

ConfidenceBadge

Displays AI confidence level indicator. Shows a visual indicator for confidence scores (0-100). Useful for OCR results, AI predictions, etc.

Public export

typescript
import { ConfidenceBadge } from '@happyvertical/smrt-ui/display';
Import path
@happyvertical/smrt-ui/display
Props
5
Props described
5 of 5
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
confidencenumberYesConfidence value (0-100)
showPercentbooleanNoShow percentage value
size'sm' | 'md' | 'lg'NoSize variant
classstringNoOptional CSS class
aria-labelstringNoAccessible label

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation