Skip to content
Skillpedia
Websites & UI (frontend)7.6k · #13196

booker

What it does

This skill describes how the public booking page moves a visitor from picking a date to confirming a meeting. It is for developers who build or change that booking screen.

When to use it

  • ✓When you change the booking page's steps, such as date, time, form, and confirmation.
  • ✓When you need to handle timezones or the 12 or 24 hour clock on a booking page.
  • ✓When you make the booking page accessible or work well on phones.

Skill link

https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/booker/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/booker/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Make the booking page easier to use on phones and keep the chosen time when someone refreshes.”

5 new skills a week. 1 minute to read.

How it works

The page moves through four stages, from picking a date to confirmation. It keeps the chosen date, slot, and timezone in the page address so a refresh keeps the selection.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Booker

Stages

  1. pick-date — month grid shows days with availability
  2. pick-slot — available slots on the selected day
  3. fill-form — attendee form (name, email, custom fields)
  4. success — confirmation with add-to-calendar buttons

Plus reschedule mode — prefilled from existing booking uid.

Animations

Use motion (motion/react) AnimatePresence with fadeInLeft variants. The outer container animates its width across stages: narrow (calendar only) → wider (calendar + slots) → widest (form).

Timezone + 12/24h

  • Detect browser timezone at mount; let user override via dropdown.
  • Persist choice to localStorage key scheduling.timezone.
  • 12/24h toggle near slot column; persist to user settings.

URL + application-state sync

Selected date, slot, timezone, and duration are mirrored to URL query params AND application_state.booker-state so:

  • Page refresh preserves selection.
  • Agent can read the user's current pick.

Copy-link affordance

Every event-type row has a "copy link" button. On click, write to clipboard and toast "Copied!" with Sonner. Works on mobile Safari too.

Accessibility

  • Month grid is ARIA grid + gridcell with arrow-key nav.
  • Slot buttons are keyboard-focusable, with aria-pressed.
  • Focus returns to trigger on modal close.
  • Toast content announced via aria-live=polite.

Mobile

< 768px: stack vertically. Calendar full-width, slot list below, form slides in as full-screen sheet.

FAQ

What are the booking stages?

Pick date, pick slot, fill form, and success.

Does the page remember the chosen timezone?

Yes. The choice is saved in local storage, and the visitor can change it from a dropdown.

How does the page support keyboard users?

Its date grid supports arrow-key navigation, and slot buttons can be focused with the keyboard.

Details

Original description by the author

Public booking flow — the state machine, animations, and URL/app-state sync.

repo: BuilderIO/agent-native

Popularity

GitHub stars
7.6k
Ranking position
#13196
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills