Skip to content

Platform · Component library

React UI for the engine, themed to your brand.

@flexischeduler/scheduling-components is twelve React components that talk directly to the scheduling engine. Calendars, slot pickers, conflict resolvers, waitlist managers — production-grade, accessible, themable, drop-in.

The three-line moment

One import. One component. A live calendar.

Drop ScheduleCalendar into your app, point it at a template, and it’s rendering events live from the engine. No state management to wire up. No webhook handlers to write.

The component manages its own engine subscription. Events sync as they happen — bookings, cancellations, confirmations — without your code touching it.

app.tsxtsx
import { ScheduleCalendar, FlexiSchedulerProvider } from '@flexischeduler/scheduling-components';

export default function App() {
  return (
    <FlexiSchedulerProvider apiKey={process.env.NEXT_PUBLIC_FLEXI_KEY}>
      <ScheduleCalendar
        templateId="home_care_v1"
        view="week"
        onEventClick={(event) => console.log(event)}
      />
    </FlexiSchedulerProvider>
  );
}

Installation

Three package managers. One package.

Ships as a single npm package. Tree-shakeable — import only the components you use. Peer-dependent on React 18+ and the FlexiScheduler SDK.

npm install @flexischeduler/scheduling-components

# or if you prefer
yarn add @flexischeduler/scheduling-components
pnpm add @flexischeduler/scheduling-components

The twelve components

Twelve components, three categories.

Grouped by what they do — read state, capture input, drive workflows. Most apps use four to six; the full set is for teams replacing custom scheduling UIs end-to-end.

Display

Read-only views of scheduling state.

v1
<ScheduleCalendar />

Day, week, and month views of scheduled events. Live-syncs with the engine. Click handlers for events, slots, and date ranges.

v1
<AvailabilityHeatmap />

Aggregated availability across an entity pool. Useful for surfacing capacity at a glance — which physicians have open slots, which docks are saturated.

v1
<EntityProfile />

Schedule view scoped to a single entity — participant, physician, member. Includes their bookings, constraints, and status.

v1
<EventDetails />

Read-only event detail view. Shows allocated entities, resources, conflicts, audit trail, and applicable workflow state.

Input

Booking, editing, and selection primitives.

v1
<AvailabilityPicker />

The booking flow primitive. Surfaces ranked alternative slots from the engine, lets users select with one click, handles confirmation.

v1
<EventEditor />

Create-and-edit form for events. Validates against your template in real time. Surfaces constraint violations as the user types.

v1
<EntitySelect />

Searchable entity selector. Filters by attributes from your template — specialty, certifications, language, location.

v1
<CheckInControl />

Driver check-in, member check-in, patient check-in. Triggers the engine&rsquo;s arrival event with timestamp and location.

Workflow

Multi-step flows for conflicts, waitlists, approvals.

v1
<ConflictResolver />

Surfaces conflicts the engine detected and walks the user through resolution options — reschedule, override, cancel, allocate alternative.

v1
<WaitlistManager />

Waitlist view with priority ordering, response timeouts, manual promotion. Auto-promote can be enabled per template.

v1
<NotificationLog />

Per-event notification audit. Shows what was sent, when, to whom, on which channel, and the response if two-way SMS is enabled.

v1
<ApprovalQueue />

Multi-step approval workflows. Surfaces pending approvals to the right role, captures reasoning, advances the lifecycle state.

Theming

Match your brand without touching internals.

A theme object on the provider. Tokens for colors, typography, radius, density. Components consume the theme via CSS variables — no inline styles, no className overrides, no fighting your global stylesheet.

CSS variables, not props

Components read theme via :root variables. Override globally without re-rendering the tree.

Density modes

Comfortable, compact, dense — the same components, three sizing scales.

Slot-based composition

Replace any subcomponent with your own. Need a custom event card? Pass a renderEvent function.

layout.tsxtsx
<FlexiSchedulerProvider
  apiKey={process.env.NEXT_PUBLIC_FLEXI_KEY}
  theme={{
    primaryColor: '#2D3470',
    accentColor: '#E8A547',
    fontFamily: 'Inter',
    radius: 'md',
    density: 'comfortable',
  }}
>
  {children}
</FlexiSchedulerProvider>

Bring-your-own design system

Already on shadcn, Material, or Mantine? The component slots accept any React component. Wrap your design system’s primitives — FlexiScheduler’s logic, your design language.

Built like infrastructure

Accessibility, performance, and quality you can audit.

The boring foundational stuff that separates a real component library from a CodeSandbox demo.

WCAG 2.1 AA

Keyboard navigation, screen reader support, focus management, sufficient contrast — audited against the spec, not just claimed.

< 50KB gzipped

Per component, on average. Tree-shakeable bundle. No charting libraries baked in unless you import them.

React 18+ native

Suspense-aware, concurrent-safe, server-component-compatible. No useEffect-as-data-fetching antipatterns.

Full TypeScript

Generated from the engine’s OpenAPI spec. Your IDE knows every prop, every event payload, every constraint shape.

Ready to drop one in

See a live calendar in your app, themed to your brand.

Thirty-minute walkthrough. We’ll drop ScheduleCalendar into a sandbox, theme it to your design system, and walk through the slot composition model. No slide deck.