All blocks

App template

Scheduling

A team calendar and public booking pages: a week of everyone's events to drag and resize, a time that works across time zones, and links people book you on.

Full preview

Nov 29 – Dec 5, 2026Friday, December 4, 2026

Find a time
UTC
All day
9:00 AM
All day
9:00 AM

Use this template

Installs the whole app into your project: its pages, routes, services with sample data, agent tools and the browser entry. Every file is yours to edit.

npx shadcn@latest add checkfu/uicontext/scheduling
  1. Run itLoad from your page’s script. It builds the app with createApp: the browser’s router, the agent tools, an offline notice, and sign-in when you turn it on. Inside an app that already routes, render SchedulingTemplate, which brings its own in-memory router.
  2. Connect your backendEvery read and write goes through Scheduling in . Implement it over your API and point SchedulingLive at your Layer.
  3. Make it yoursPages are one file per route. Delete the ones you don’t need, and the sample data in .

Screens

  • Calendar

    /

    A day, week, month or agenda of the calendars you pick, with a second time zone. Drag to add, move and resize, with Undo.

  • Find a time

    /find-a-time

    Everyone's hours and busy time side by side, and the times that work for all, in each person's clock.

  • Bookings

    /bookings

    What people booked on your pages, with links to move or cancel.

  • Booking pages

    /booking

    One page per kind of meeting: its lengths, place and link, on or off.

  • Availability

    /availability

    Weekly hours, date overrides, buffers, notice and how far ahead, with the next open times beside them.

  • Booking page

    /book/:host/:type

    The public page: a month of open days in the visitor's zone, the times, a short form and Add to calendar.

  • Reschedule

    /bookings/:id/reschedule

    The same page with the old time crossed out.

  • Cancel

    /bookings/:id/cancel

    The booking, a reason, and the button.

Where your backend plugs in

Pages never call a backend. They read through the queries in queries/ and write through Commands kept beside the component that runs them; both capture the Scheduling service. Implement its interface in over HTTP, a sync engine or a database client, then change one line:

export const SchedulingLive = Scheduling.sample
// becomes your Layer, such as
export const SchedulingLive = Layer.effect(Scheduling, makeHttpScheduling)

The root provides it once, so every page shares one instance. Sign-in is one line: delete auth: false in once your backend serves the session routes, and the sidebar shows who signed in.

What to delete

  • services/seed.ts, and Scheduling.sample in services/Scheduling.ts
  • The meet.example.com links a new booking gets in services/Scheduling.ts: your video service makes them

To drop a screen, delete its file in pages/ and its route in ; TypeScript points at every link that still prints it. The agent tools are in .