Back to components

Cards

Locale Coverage Card

A localization progress summary with per-language completion percentages.

localizationprogresslanguages

Installation

Copy and paste the code into your project.

Accessibility notes

Each locale exposes its language code and exact coverage percentage.

Localization

Locale coverage

3 locales
Englishen-US
100%
Spanishes-ES
92%
Japaneseja-JP
68%

Preview accent

TypeScript
const locales = [{ name: "English", code: "en-US", coverage: 100 }, { name: "Spanish", code: "es-ES", coverage: 92 }, { name: "Japanese", code: "ja-JP", coverage: 68 }];

export function LocaleCoverageCard() {
  return <section className="w-full max-w-sm rounded-xl border border-white/12 bg-[#0b0f14]/92 p-4 shadow-2xl">
    <header className="flex items-start justify-between gap-4"><div><p className="text-xs font-semibold uppercase tracking-[0.18em] text-[#40E0D0]">Localization</p><h3 className="mt-1 text-base font-bold text-white">Locale coverage</h3></div><span className="rounded-full bg-white/[0.06] px-2.5 py-1 text-[0.65rem] font-bold text-slate-300">3 locales</span></header>
    <dl className="mt-4 space-y-3">{locales.map((locale) => <div key={locale.code} className="rounded-lg border border-white/9 bg-white/[0.025] p-3"><div className="flex items-center justify-between"><dt><span className="text-xs font-semibold text-slate-200">{locale.name}</span><span className="ml-2 text-[0.65rem] text-slate-500">{locale.code}</span></dt><dd className="text-xs font-black text-white">{locale.coverage}%</dd></div><div className="mt-2 h-1.5 overflow-hidden rounded-full bg-white/[0.06]" role="progressbar" aria-label={locale.name + " coverage"} aria-valuenow={locale.coverage} aria-valuemin={0} aria-valuemax={100}><span className="block h-full rounded-full bg-gradient-to-r from-[#a78bfa] to-[#40E0D0]" style={{ width: locale.coverage + "%" }} /></div></div>)}</dl>
  </section>;
}
Usage
<LocaleCoverageCard />

Related components

Agent SLA

Production quality

Healthy
Task success
98.4%
Target > 97%
P95 latency
1.8s
Target < 2.5s
Escalations
3.2%
Target < 5%
Monthly breach budget2 / 20

Cards

Agent SLA Scorecard

Intermediate

A compact production scorecard for tracking agent success, latency, escalations, and remaining breach budget.

agentsslaobservability
View component
component.tsx
<Button glow>
  Ship it
</Button>

Cards

Copy Code Card

Beginner

A compact code surface for snippets, component recipes, and copy actions.

codecopysnippet
View component

Run estimate

$0.35cached
Input
$0.12
Output
$0.28
Cache
-$0.05

Cards

Cost Estimate Card

Beginner

A compact billing estimate with line items for token-heavy AI runs.

costbillingtokens
View component