Krizaka UI
Krizaka UI

Verified badge

A seal that says the person or the account was verified (a selfie, an ID) — the accent, named in words.

Web · ✓Mobile · ✓Bureau · ✓BêtaRetours
Niveau de support
Bêta
Taille
0.7 kB gzip, budget 1.0 kB
Qui l'utilise
2 fichiers des produits et sites en production l'importent Compté dans l'inventaire daté du 2026-11-23.
import { VerifiedBadge } from "@krizaka/ui/verified-badge";
Changez ses props : le composant se redessine, le code suit.
size
showLabel
tsx
<VerifiedBadge size="lg" showLabel label="Verified" />

Web et mobile — le même composant pour React et React Native. Bêta : son API peut encore changer à une version mineure.

Pourquoi il est là. Its only users were products that left the organisation (2026-10-29): kept until the next major's audit decides.

Quand l’utiliser

  • Beside a name on a profile, a card, a message header.
  • On a photo (onMedia / on="media").

Quand ne pas l’utiliser

  • For a status that changes (online, live).À la place : Badge

Installation

Installer

npm install @krizaka/ui @krizaka/tailwind @krizaka/tokens tailwindcss

Styles

@import "tailwindcss";
@import "@krizaka/tailwind";
@import "@krizaka/ui/tailwind.css";

Importer

import { VerifiedBadge } from "@krizaka/ui/verified-badge";

Exemples

Verified

Beside a name, and with its words.

Props

A seal that says the person or the account was verified (a selfie check, an ID), named in words.

PropTypeDéfautDescription
labelrequisstring—Its words (“Verified”), read — and shown with showLabel — passed translated.
onMediaboolean—On a photo: a ring of the media around the seal.
showLabelboolean—Show the words beside the seal. Default false: the seal alone, named.
size"sm" | "lg" | "md"mdThe seal's size: sm (14 px), md (16 px, default), lg (20 px).

Accessibilité

  • An image named by label; with showLabel the words are shown too.

Bonnes pratiques

  • Name what was verified (“Verified with a selfie”) when it matters.
  • Show it only for a check the platform did, never self-declared.

Générée depuis le code de @krizaka/ui 5.3.4 : son meta.ts, ses exemples et ses types.Modifier cette documentation sur GitHub

Sur cette page