Invite Check

Invite Check is a copy-paste React component that stops invite lands at 3 am for guests 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/invite-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

StopsInvite lands at 3 AM for guests

Was this component page useful?

How do I install Invite Check?

pnpm dlx shadcn@latest add @bollard/invite-check

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

How do I use Invite Check in React?

invite-check-usage.tsx
import { InviteCheck, type ExistingInvite, type HolidayLookup, type InviteGuest } from "@/components/ui/invite-check"

<InviteCheck
  title="Q4 roadmap sync"
  start={start}
  guests={guests}
  videoLink={videoLink}
  timeZone="Asia/Kolkata"
  orgDomains={orgDomains}
  existing={existing}
  holidayFor={holidayFor}
  onReschedule={(at) => setStart(at.getTime())}
  onAddVideoLink={() => setVideoLink("meet.google.com/qrx-wpta-kme")}
  onFixGuest={(email, next) => setGuests((gs) => gs.map((g) => (g.email === email ? { ...g, email: next } : g)))}
  onRemoveGuest={(email) => setGuests((gs) => gs.filter((g) => g.email !== email))}
  onOpenExisting={() => undefined}
/>

What input mistakes does Invite Check catch?

  • Start time outside a guest's working hours, at night or on their weekend
  • Guest's holiday, from your holiday source
  • Company domain typos among guests
  • No video link and no location
  • Duplicate guests hidden by +tags or Gmail dots, and an invite already sent

What props does Invite Check accept?

InviteCheck props
PropTypeDefault
orgDomains

Your organisation's email domains. Guests elsewhere are marked external.

string[]—
existing

Invites already sent, to catch sending the same one twice.

ExistingInvite[]—
holidayForHolidayLookup—
title* (required)

Event title, used to spot a re-sent invite.

string—
start* (required)

Start of the event.

Date | number | string—
guests* (required)

People invited, each with an email and optional zone and hours.

InviteGuest[]—
location

Meeting place, if any.

string—
videoLink

Video call link, if any.

string—
timeZone

Your zone, for the suggested time. Defaults to the browser's.

string—
onReschedule

Move the event to the suggested start.

(start: Date) => void—
onAddVideoLink

Add a video link (Meet, Zoom, Teams…).

() => void—
onFixGuest

Replace a guest's address, e.g. a typo'd company domain.

(email: string, next: string) => void—
onRemoveGuest

Called with a guest's email to remove them.

(email: string) => void—
onOpenExisting

Open the invite this one duplicates.

(id: string) => void—
heading

Heading above the check.

string"Before you send"
noPlaceText

Shown when there is neither a location nor a video link.

string"No video link or location: guests won't know where to jo…
addVideoLabel

Button text to add a video link.

string"Add video link"
allClearText

Shown when nothing needs attention.

string"Works for everyone."

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

How is Invite Check accessible?

  • Per-guest start times are a labelled list with text, not only icons
  • Issues and suggestions are in a polite live region
  • Every fix (reschedule, remove guest, add link) is a button

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

What are the limitations and server boundaries?

  • Default working hours (9–18) and weekends are assumptions; pass each guest's real ones
  • Holidays come only from the source you provide
  • Needs each guest's IANA zone; it can't guess where they are

What expensive mistakes does Invite Check stop?

Invite lands at 3 AM for guests

Also known as

calendar invite · meeting · time zone · guests · google meet · zoom link · scheduler · event

What dependencies does Invite Check require?

Invite Check facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component nameInvite Check
Registry identifier@bollard/invite-check
Install commandnpx shadcn@latest add @bollard/invite-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 Invite Check

How does Invite Check handle date and time accuracy?

Invite Check catches invite lands at 3 AM for guests. Validates calendar constraints: Start time outside a guest's working hours, at night or on their weekend, Guest's holiday, from your holiday source, Company domain typos among guests, No video link and no location, Duplicate guests hidden by +tags or Gmail dots, and an invite already sent. Limitation: match invite-check with server timezone.

How do I install invite-check with shadcn?

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

What props customize Invite Check?

Invite Check accepts `orgDomains`, `existing`, `holidayFor`, `title`, `start`. Configures calendar invite, meeting, time zone behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of invite-check?

Default working hours (9–18) and weekends are assumptions; pass each guest's real ones. Holidays come only from the source you provide. Needs each guest's IANA zone; it can't guess where they are Server requirement: backend verification for invite-check.

How does Invite Check meet accessibility guidelines?

Per-guest start times are a labelled list with text, not only icons. Issues and suggestions are in a polite live region. Every fix (reschedule, remove guest, add link) is a button. Minimizes errors: meeting invite wrong time zone, invite typo domain.

Which components pair with Invite Check?