Transit Visa Check

Transit Visa Check is a copy-paste React component that stops stranded at a layover without a visa 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/transit-visa-check
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

StopsStranded at a layover without a visa

Was this component page useful?

How do I install Transit Visa Check?

pnpm dlx shadcn@latest add @bollard/transit-visa-check

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

How do I use Transit Visa Check in React?

transit-visa-check-usage.tsx
import { TransitVisaCheck, type Layover } from "@/components/ui/transit-visa-check"

<TransitVisaCheck value={layover} onValueChange={setLayover} />

What input mistakes does Transit Visa Check catch?

  • Nationalities on a country's airport transit visa list
  • Documents that commonly exempt (e.g. valid US/CA/UK visas, EEA residence)
  • Self-transfers and separate tickets that mean collecting bags and entering
  • An onward flight to another Schengen country, which means entering here
  • UK to Ireland and leaving the airport during the layover
  • Airports with no airside transit (US)

What props does Transit Visa Check accept?

TransitVisaCheck props
PropTypeDefault
value

Controlled layover.

Partial<Layover>—
defaultValue

Initial layover when uncontrolled.

Partial<Layover>{}
onValueChange

Called on every change.

(value: Partial<Layover>) => void—
rules

Rules by airport IATA code. Defaults to a small, sourced starter set; replace with your own data.

Record<string, TransitRule & { airport?: string; hours?: string }>TRANSIT_RULES
countries

Countries offered for passport and onward flight, ISO alpha-2. Defaults to every country the rules mention.

string[]—
locale

Locale for country names and dates.

string"en-IN"
delay

Pause in ms before the verdict is read out after a change.

number700
messages

Any visible string; `verdict` and `docs` may be partial.

Partial<Omit<TransitVisaMessages, "verdict" | "docs">> & { verdict?: Partial<TransitVisaMessages["verdict"]>; docs?: Partial<TransitVisaM…—

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

How is Transit Visa Check accessible?

  • Section labelled by its heading; every input and document checkbox has a <label>
  • Verdict in a polite live region with icon and text
  • Official and Timatic links have visible text

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

What are the limitations and server boundaries?

  • Starter rules for a few countries only; it is not a visa determination
  • Visa lists and exemptions change; each rule carries its own checked date
  • Airlines decide boarding: confirm with Timatic, the airline or the official source

What validation rules apply to Transit Visa Check?

Rules not yet verified against an official source.

Nationality lists carry a checked date of 2026-10-14 from a previous round but were not re-verified this round (official pages blocked automated fetches). GOV.UK confirms the DATV/Visitor in Transit split and the visitor-visa exemption. Informational; always confirm with Timatic or the official source. Copied components don't update themselves, so re-check after rule changes (see updating a component).

What expensive mistakes does Transit Visa Check stop?

Stranded at a layover without a visa

Also known as

airport transit visa · layover · self-transfer · flight booking · passport · schengen · timatic · indian passport

Field type

What dependencies does Transit Visa Check require?

Transit Visa Check facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component nameTransit Visa Check
Registry identifier@bollard/transit-visa-check
Install commandnpx shadcn@latest add @bollard/transit-visa-check
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 Transit Visa Check

How does Transit Visa Check validate Indian financial identifiers?

Transit Visa Check stops stranded at a layover without a visa. Complies with national standards for Nationalities on a country's airport transit visa list, Documents that commonly exempt (e.g. valid US/CA/UK visas, EEA residence), Self-transfers and separate tickets that mean collecting bags and entering, An onward flight to another Schengen country, which means entering here, UK to Ireland and leaving the airport during the layover, Airports with no airside transit (US). Limitation: verify transit-visa-check with issuer gateway.

How do I install transit-visa-check with shadcn?

Run `npx shadcn@latest add @bollard/transit-visa-check`. Sources added: registry/default/transit-visa-check/transit-rules.ts, registry/default/transit-visa-check/transit-visa-check.tsx. Package requirements: lucide-react.

What props customize Transit Visa Check?

Transit Visa Check accepts `value`, `defaultValue`, `onValueChange`, `rules`, `countries`. Configures airport transit visa, layover, self-transfer behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of transit-visa-check?

Starter rules for a few countries only; it is not a visa determination. Visa lists and exemptions change; each rule carries its own checked date. Airlines decide boarding: confirm with Timatic, the airline or the official source Server requirement: backend verification for transit-visa-check.

How does Transit Visa Check meet accessibility guidelines?

Section labelled by its heading; every input and document checkbox has a <label>. Verdict in a polite live region with icon and text. Official and Timatic links have visible text. Minimizes errors: layover needs transit visa, denied boarding on connection.

Which components pair with Transit Visa Check?