Provider Badge
- from @localmode
- by LocalMode
Displays the RESOLVED provider identity - composing ProviderFallbackBadge for the tier and name - alongside the model id that actually served the request. While providerName is null it shows a Resolving provider placeholder, so the badge never claims a provider before one has resolved. Takes generic display props (providerName / tier / modelId / note). Distinct from ProviderFallbackBadge (the tier chip it composes): this adds the resolved provider identity plus the served model id. Data source: a provider-fallback resolver.
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/local-first/provider-badgeLive preview
No live preview has been built for this component yet.
Registry dependencies2
- @localmode/ui/lib/utils
- @localmode/ui/local-first/provider-fallback-badge
Packages0
No npm packages are installed with it.
