Post-Quantum Badge
ProNewAn original mark for products that use post-quantum cryptography: a lattice seal with four levels, planned, ready, hybrid and native, as a seal, a lockup, a pill, or a card that names each algorithm with its standard and says whether the claim was independently checked.
Installation
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
Props
| Prop | Type | Default |
|---|---|---|
| level* | PqcLevelHow far along the product is. `planned`: scheduled, not in use. `ready`: supported, off by default. `hybrid`: on by default beside classical algorithms. `native`: post-quantum by default. | — |
| algorithms | PqcAlgorithm[]The algorithms in use, e.g. `["ML-KEM-768", "ML-DSA-65"]`. Named in the label and listed on the card. | [] |
| claims | { area: string; algorithm: PqcAlgorithm }[]What each algorithm protects, for the card: `{ area: "Data in transit", algorithm: "X25519MLKEM768" }`. | [] |
| date | stringWhen it took effect or is expected, already formatted, e.g. "Since March 2026". | — |
| validation | stringWho checked the claim, e.g. a lab or a certificate number. Without it the card says the claim is self-declared. | — |
| variant | "seal" | "lockup" | "card" | "inline"`seal` is the mark alone; `lockup` sets it beside a line of text; `card` adds the claims; `inline` is a pill. | "seal" |
| tagline | stringThe line beside the seal in the lockup. | "Built for post-quantum cryptography" |
| finish | "iridescent" | "mono"`iridescent` draws the outline in a violet-to-teal gradient; `mono` uses the text color, to sit beside other badges. | "iridescent" |
| size | keyof typeof sizes | "md" |
| href | stringMakes the badge a link, e.g. to the page that explains the claim. | — |
| className | string | — |
Accessibility
- Named with the level, the algorithms and the date.
- The level is a word and a count of pips as well as a color; planned has a dashed outline.
- The card states when a claim is self-declared.
- The seal draws once and ripples under a pointer; both are off under reduced motion.
- Server component with no client JavaScript.