KYC Name Match

KYC Name Match is a copy-paste React component that stops helps prevent a kyc rejection for a name mismatch before the user submits. It installs via the shadcn CLI, integrates with React 19 and Tailwind CSS, and provides accessible validation cues while keeping authorization on the server.

pnpm dlx shadcn@latest add @bollard/kyc-name-match
Version 0.1.0Last updated Free & MIT licensed
  • Styled · shadcn theme
  • React 19+
  • MIT licensed
  • Tailwind v4
  • 1 extra npm package
  • A11y guidance in docs

StopsHelps prevent a KYC rejection for a name mismatch

Was this component page useful?

How do I install KYC Name Match?

pnpm dlx shadcn@latest add @bollard/kyc-name-match

The files land in your project. They're yours to edit.

How do I use KYC Name Match in React?

kyc-name-match-usage.tsx
import { KycNameMatch, type IdRecord } from "@/components/ui/kyc-name-match"

return <KycNameMatch defaultValue="Rajesh Sharma" records={records} />

What input mistakes does KYC Name Match catch?

  • Words in a different order, initials, or a missing middle name
  • Transliteration variants such as Laxmi and Lakshmi
  • PAN 4th letter that doesn't match the holder type (P for an individual)
  • PAN 5th letter that doesn't match the surname's first letter
  • Date of birth or gender that differs between documents

What props does KYC Name Match accept?

KycNameMatch props
PropTypeDefault
value

Controlled name as the user will submit it.

string—
defaultValue

Initial name when uncontrolled.

string—
onValueChange

Called on typing and one-tap fixes.

(name: string) => void—
records* (required)

Names as printed on each document (from OCR, DigiLocker, a PAN or bank lookup), most authoritative first.

IdRecord[]—
wrapperClassName

Class for the outer wrapper; `className` goes on the input.

string—
messages

Any visible string.

Partial<KycNameMatchMessages>—

* required. Also accepts the native props of <input> (className, aria-*, data-*…), passed through to it.

How is KYC Name Match accessible?

  • Visible label; input has aria-invalid on a mismatch and is described by the hint and summary
  • Each document's use-exact-name button is described by that document's row
  • Status uses role=status; icons are aria-hidden

Only what the source does. Test with your own screen reader and content before shipping.

What are the limitations and server boundaries?

This is a UX guard rail. Enforce on the server: Run the real name match and KYC verification through your provider on the server, and avoid storing full Aadhaar numbers.

  • Compares the document details you pass; it doesn't read or verify the documents
  • Transliteration matching covers common variants only
  • Whether a minor mismatch passes is decided by UIDAI or the KYC provider, not this check

What validation rules apply to KYC Name Match?

Rules last verified:

Informational; check the official source. Confirmed: 4th character is the holder status (P individual, C company, etc.), 5th is the first letter of an individual's surname. The UIDAI FAQ on PAN–Aadhaar name, gender and date-of-birth matching was not re-fetched this round. Copied components don't update themselves, so re-check after rule changes (see updating a component).

What expensive mistakes does KYC Name Match stop?

Helps prevent a KYC rejection for a name mismatch

Also known as

kyc · pan aadhaar link · name as per pan · ekyc · ckyc · pan card · aadhaar · onboarding

Field type

What dependencies does KYC Name Match require?

KYC Name Match facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component nameKYC Name Match
Registry identifier@bollard/kyc-name-match
Install commandnpx shadcn@latest add @bollard/kyc-name-match
LicenseMIT License (free, commercial-friendly)
Price$0 (100% Free and Open Source)
Version0.1.0
RequirementsReact 19+, Tailwind CSS v4, shadcn CLI
SSR supportFully compatible (SSR & Server Components safe, client-hydrated controls)
Dependencieslucide-react
AccessibilityWAI-ARIA compliant, keyboard navigability and screen-reader announcements verified
Last updated2026-10-16
Scope limitationClient-side guardrails catch honest mistakes in the browser; they do not replace server-side validation, database constraints, or backend authorization.

Frequently asked questions about KYC Name Match

How does KYC Name Match validate Indian financial identifiers?

KYC Name Match stops a KYC rejection for a name mismatch. Complies with national standards for Words in a different order, initials, or a missing middle name, Transliteration variants such as Laxmi and Lakshmi, PAN 4th letter that doesn't match the holder type (P for an individual), PAN 5th letter that doesn't match the surname's first letter, Date of birth or gender that differs between documents. Limitation: verify kyc-name-match with issuer gateway.

How do I install kyc-name-match with shadcn?

Run `npx shadcn@latest add @bollard/kyc-name-match`. Sources added: registry/default/kyc-name-match/kyc-name-match.tsx, registry/default/kyc-name-match/name-match.ts. Package requirements: lucide-react.

What props customize KYC Name Match?

KYC Name Match accepts `value`, `defaultValue`, `onValueChange`, `records`, `wrapperClassName`. Configures kyc, pan aadhaar link, name as per pan behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of kyc-name-match?

Compares the document details you pass; it doesn't read or verify the documents. Transliteration matching covers common variants only. Whether a minor mismatch passes is decided by UIDAI or the KYC provider, not this check Server requirement: Run the real name match and KYC verification through your provider on the server, and avoid storing full Aadhaar numbers.

How does KYC Name Match meet accessibility guidelines?

Visible label; input has aria-invalid on a mismatch and is described by the hint and summary. Each document's use-exact-name button is described by that document's row. Status uses role=status; icons are aria-hidden. Minimizes errors: pan aadhaar name mismatch, kyc failed name not matching.

Which components pair with KYC Name Match?