Top Result Card
- from @localmode
- by LocalMode
A hero card highlighting the single winning classification result — large label, prominent radial confidence dial (via ConfidenceScoreBadge), and a tier-tinted gradient-border glow. Designed to pair above a ScoredResultBarList; serves any single-winner output (sentiment, intent, language detection, gesture, zero-shot). Pairs with useClassifyZeroShot (top result).
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @localmode/ui/results/top-result-cardLive preview
No live preview has been built for this component yet.
Registry dependencies2
- @localmode/ui/lib/utils
- @localmode/ui/results/confidence-score-badge
Packages0
No npm packages are installed with it.
