Preflight Checklist

Preflight Checklist is a copy-paste React component that stops shipped with checks skipped 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/preflight-checklist
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

StopsShipped with checks skipped

Was this component page useful?

How do I install Preflight Checklist?

pnpm dlx shadcn@latest add @bollard/preflight-checklist

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

How do I use Preflight Checklist in React?

preflight-checklist-usage.tsx
import { PreflightChecklist, type PreflightCheck } from "@/components/ui/preflight-checklist"

<PreflightChecklist
  checks={checks}
  revision={commits[index]}
  actionLabel="Deploy to production"
  onAction={() => new Promise<void>((resolve) => setTimeout(() => { setLog(`Deployed ${commits[index]}`); resolve() }, 900))}
/>

What input mistakes does Preflight Checklist catch?

  • Action started with failing or pending checks
  • Manual ticks left over from an earlier revision
  • A check that started failing since it was ticked: re-verified on run
  • Auto-check that throws: counted as a failure

What props does Preflight Checklist accept?

PreflightChecklist props
PropTypeDefault
checks* (required)

The checks to run, in order; omit run for a manual tick.

PreflightCheck[]—
actionLabel* (required)

Label of the gated action, e.g. "Deploy to production".

string—
onAction* (required)

The gated action. Return a promise to show a pending state; a rejection is shown under the button.

() => void | Promise<void>—
revision

What's being shipped (a commit, a draft version). When it changes, manual ticks reset and auto-checks re-run.

string—
recheckOnAction

Re-run auto-checks right before the action fires, so a result can't go stale between check and click.

booleantrue
title

Header text.

string"Preflight"
rerunLabel

Re-run button text.

string"Re-run checks"
blockedLabel

Text before the blocker chips.

string"Blocked by"
passedLabel

Shown when nothing blocks.

string"All checks passed."
verifyingLabel

Button text while auto-checks re-run before the action.

string"Re-verifying…"
workingLabel

Button text while the action runs.

string"Working…"

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

How is Preflight Checklist accessible?

  • Each check row is focusable and its state is read as text
  • Status is a polite live region linked to the action button
  • Locked action uses aria-disabled and stays focusable
  • Re-run button has a title and visually hidden text

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: Gate the real deploy in CI or the API with the same required checks.

  • The lock is in this UI; the same action through an API or CLI isn't gated
  • Checks are only as good as the functions you pass

What expensive mistakes does Preflight Checklist stop?

Shipped with checks skipped

Also known as

checklist · pre-launch · release checklist · deploy · publish · gate · ci checks · go live

What dependencies does Preflight Checklist require?

Preflight Checklist facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component namePreflight Checklist
Registry identifier@bollard/preflight-checklist
Install commandnpx shadcn@latest add @bollard/preflight-checklist
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 Preflight Checklist

What form validation mistake does Preflight Checklist catch?

Preflight Checklist prevents shipped with checks skipped. Locks a deploy or publish button until automatic and manual checks pass, and re-verifies right before it runs. Catches: Action started with failing or pending checks, Manual ticks left over from an earlier revision, A check that started failing since it was ticked: re-verified on run, Auto-check that throws: counted as a failure. Limitation: validate preflight-checklist schemas on backend.

How do I install preflight-checklist with shadcn?

Run `npx shadcn@latest add @bollard/preflight-checklist`. Sources added: registry/default/preflight-checklist/preflight-checklist.tsx. Package requirements: lucide-react.

What props customize Preflight Checklist?

Preflight Checklist accepts `checks`, `actionLabel`, `onAction`, `revision`, `recheckOnAction`. Configures checklist, pre-launch, release checklist behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of preflight-checklist?

The lock is in this UI; the same action through an API or CLI isn't gated. Checks are only as good as the functions you pass Server requirement: Gate the real deploy in CI or the API with the same required checks.

How does Preflight Checklist meet accessibility guidelines?

Each check row is focusable and its state is read as text. Status is a polite live region linked to the action button. Locked action uses aria-disabled and stays focusable. Re-run button has a title and visually hidden text. Minimizes errors: deployed without checks, release checklist.

Which components pair with Preflight Checklist?