Floor planner
Desk booking across floors. The floors really are stacked: choose one and the floors above it lift away, so its plan is unobstructed, then book a desk from the plan. Every desk has a name and a state, and the side card says each choice in words.
Choose a free desk to book it.
12 of 18 desks free on Floor 2. Arrow keys move between desks.
When to use
- Hot-desking, room and seat booking where people think in floors of a building.
- Showing which part of a building a booking sits in, with the plan as the way to choose.
When not to use
- A single flat room; use the seat picker.
- Time slots within a day; use the availability scheduler.
Installation
pnpm dlx shadcn@latest add @caliper/floor-planner
Adds its 6 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
FloorPlanner
18 props
Keyboard
- →
- Moves to the next item or value.
- ←
- Moves to the previous item or value.
- ↓
- Moves to the next item or value.
- ↑
- Moves to the previous item or value.
- Home
- Jumps to the first item or the minimum.
- End
- Jumps to the last item or the maximum.
Accessibility
It is built on native elements and keeps aria-hidden, aria-label, aria-disabled, aria-pressed and aria-live in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/floor-planner.mdThe index of every part is at /llms.txt.