Calendar Booking
A cursor picks a day and a time slot, confirms, and a meeting-scheduled card appears. A free, MIT-licensed Remotion product scene.
$ pnpm dlx shadcn@latest add @remocn/calendar-bookingUsage
// src/Root.tsx
import { Composition } from "remotion";
import { CalendarBooking } from "@/components/remocn/calendar-booking";
const CalendarBookingScene = () => (
<CalendarBooking
host={{ name: "Maya Chen", initials: "MC" }}
day={18}
pick="10:30am"
/>
);
export const RemotionRoot = () => (
<Composition
id="CalendarBooking"
component={CalendarBookingScene}
durationInFrames={165}
fps={30}
width={1280}
height={720}
/>
);A scheduling card shows the host, event details and a month grid; the cursor picks a day, then a time slot, and presses Confirm, which morphs the card into a scheduled confirmation with a drawn check and detail rows. Pass host, event, slots, pick and day for your own flow. Ships light and dark.
The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.
Props18
| Prop | Type | Default |
|---|---|---|
| host | BookingHostDEFAULT_HOST Host name, optional email and avatar initials | |
| event | BookingEvent— Event details: title, durations, location, month and weekday offsets | |
| slots | string[]DEFAULT_SLOTS Time slots shown after picking a day, e.g. '10:30am' | |
| pick | string— Slot the cursor picks; defaults to 10:30am | |
| day | number18 Day of the month the cursor picks | |
| confirmLabel | string"Confirm" Label of the button the picked slot splits into. | |
| sentLabel | string"Invite sent to your inbox" Line next to the check once the booking is made. | |
| bookedLabel | string"You’re booked with" Confirmation headline, followed by the host's first name. | |
| accent | string"#3B5BFD" Accent color for highlights, buttons and progress | |
| ink | string— Text color; overrides the theme ink. | |
| fontFamily | string"Instrument Sans" Typeface for the copy. Load the font in your project first. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier for the whole timeline | |
| theme | "light" | "dark""light" Light or dark palette | |
| ground | GshPresetId— gradients.sh preset id for the backdrop shader | |
| background | string— Solid fill in place of the gradient ground; pass "transparent" to drop it. | |
| groundParams | Partial<GradientParams>— Overrides for the backdrop shader parameters | |
- hostBookingHost
Host name, optional email and avatar initials
Default
DEFAULT_HOST - eventBookingEvent
Event details: title, durations, location, month and weekday offsets
- slotsstring[]
Time slots shown after picking a day, e.g. '10:30am'
Default
DEFAULT_SLOTS - pickstring
Slot the cursor picks; defaults to 10:30am
- daynumber
Day of the month the cursor picks
Default
18 - confirmLabelstring
Label of the button the picked slot splits into.
Default
"Confirm" - sentLabelstring
Line next to the check once the booking is made.
Default
"Invite sent to your inbox" - bookedLabelstring
Confirmation headline, followed by the host's first name.
Default
"You’re booked with" - accentstring
Accent color for highlights, buttons and progress
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Instrument Sans" - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier for the whole timeline
Default
1 - theme"light" | "dark"
Light or dark palette
Default
"light" - groundGshPresetId
gradients.sh preset id for the backdrop shader
- backgroundstring
Solid fill in place of the gradient ground; pass "transparent" to drop it.
- groundParamsPartial<GradientParams>
Overrides for the backdrop shader parameters