Schedule planner.
A day agenda, explicit time zones and a booking draft with a way back.
A LITTLE ROOM IN THE DAY
Make time for the next thing.
Sample availability. Changes last for this session.
15–120 minutes, in 15-minute steps
Loading schedule…
Live interface · sample data · state resets on reload
GET STARTED
Source you can customise.
npx shadcn@latest add https://ui.bld8.dev/r/schedule-planner.jsonInstall into an existing application, or download the complete starter below.
Download the starter, unzip it and run the commands below. Choose Next.js or React + Vite. Both include the same BLD8 packages and editable source. No BLD8 npm installation is needed.
npm install
npm run devNext.js opens on http://localhost:3000; Vite opens on http://127.0.0.1:5173. Use the port printed by the dev server if the default is occupied. Node 22.13+ and React 19 are used. Import SchedulePlanner from @bld8/blocks in your own composition.
Moving between Next.js and Vite? Keep the UI source and review the application-specific changes.
NOTES TO SELF
A clear starting point.
Illustrative UTC availability and appointments last for this page session. Date and time-zone controls display supplied instants; no arbitrary wall-clock-to-UTC conversion is performed. Book 15–120 elapsed minutes inside a supplied window, without local overlap. Load and booking callbacks receive abort signals; writes include expectedRevision and a requestId. The host owns authorisation, durable storage, idempotency and atomic overlap/revision checks. Cancelled requests may already have committed remotely; reload to reconcile. Up to 200 windows and 500 events, each at most 24 hours, with whole-minute instants. Recurrence, resource scheduling, calendar sync and rich text are not included.
Original BLD8 source uses MIT. Personal and commercial use are allowed; preserve the copyright, licence and applicable third-party notices when sharing source.
Licence and usage Source manifestPublic API
Generated from the same public TypeScript exports as the agent documentation. The host owns the service contracts described above.
SchedulePlanner
| Prop | Type | Default |
|---|---|---|
className | string | undefined | — |
initialTimeZone | string | undefined | 'Australia/Melbourne' |
loadSchedule | ((context: { signal: AbortSignal; }) => Promise<ScheduleSnapshot>) | undefinedComplete bounded availability and appointments. Keep the callback stable. | — |
locale | string | undefined | 'en-AU' |
onBook | ((booking: ScheduleBooking, context: { signal: AbortSignal; requestId: string; }) => Promise<ScheduleBookingResult>) | undefinedHost must authorise and check the revision/overlap atomically. Keep stable. | — |
Tables come from the public TypeScript declarations. Related types and function parameters are shown alongside their component. A dash means no default is declared at the public function boundary.