Skip to content
Knowns UI
Get ProSign in

Office Walkthrough

A tour of an Agent Office floor told by scroll. The floor pins, a camera holds on each room and pans to the next, the agents there change state and walk as it arrives, and the tour ends on the Approval desk with the real request open for a yes. On phones and under reduced motion it shows the whole floor with the stops as a list.

On this page
Used for
  • A team or ops landing
  • The hero of an agent product
  • A tour of a new workspace
  • An onboarding walk through departments

Examples

Still

What phones, short screens and reduced motion get: the whole floor in its final state and the stops as a list.

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

roomsrequired
OfficeRoom[]
The four departments, as Agent Office takes them.
agentsrequired
OfficeAgent[]
The agents at the start of the tour.
stopsrequired
WalkStop[]
{ focus?, zoom?, title, text, agents? } in order. End on the blocked agent.
events
OfficeEvent[]
What agents report, for their bubbles.
title
ReactNode
Heading above the stage.
description
ReactNode
One or two sentences under it.
onApprove
(agent) => void
The request at the desk was approved.
onDecline
(agent) => void
It was denied.
scrollLength
number
Defaultstops.length
Extra scroll while pinned, in views.
root
RefObject<HTMLElement>
Defaultwindow
A scroll container.
subscribe
(onScroll) => () => void
An outside scroll source.
viewHeight
string
Default"100svh"
One view as a CSS length.
layout
"auto" | "still"
Default"auto"
Pinned where it fits, or always the still floor.
theme
"auto" | "light" | "dark"
Default"auto"
Passed to Agent Office.
insetTop
number
Default0
Px a sticky page header covers at the top of the stage. Each stop frames its agent and bubble below it.
as
"h2" | "h3"
Default"h2"
Heading level.

Accessibility

  • The caption is a polite live region: it says the stop once when the camera arrives, not on every frame.
  • The floor keeps Agent Office's own names and summary; the camera only moves its picture.
  • The request at the desk is the real ApprovalPrompt, reachable by Tab, with Approve and Deny.
  • The still layout lists the stops in order, so the tour reads without scrolling.

What it handles

  1. 01Pins an Agent Office floor and walks a camera over it with the scroll: it holds on each stop and pans to the next.
  2. 02Moves only the floor's wrapper (translate and scale); the floor is drawn once, and will-change is set only while the stage is pinned.
  3. 03Applies each stop's agent changes as the camera arrives, so the agents walk to their new place with the floor's own motion.
  4. 04Ends on the Approval desk with the waiting request open as the real ApprovalPrompt; a decision goes out through onApprove or onDecline and the agent goes back to work.
  5. 05Shows the whole floor in its final state and the stops as a list on phones, short screens, under reduced motion and before JavaScript.

States

First render
The whole floor and the list of stops
none
Pinned (640px and wider, 600px tall)
The camera holds 40% of each stretch and pans the rest
follows the scroll, in-out
Arrive at a stop
The caption swaps; the stop's agents change state and walk
SwapText 180ms; walks timed by distance
Approval desk
The request rises in beside the caption
180ms, ease out
Approve or deny
The agent leaves the desk and goes back to work
the floor's walk
Reduced motion
The whole floor and the list, no camera
0ms

Works with

When to use

When to use

  • A team or ops landing that walks a visitor through the departments where agents work, ending on a request that needs a person.
  • An onboarding tour of a new agent workspace, one room per step.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Office Walkthrough to my app and wire it to my own data.
  • I need a team or ops landing that walks a visitor through the departments where agents work, ending on a request that needs a person. Set that up with the Knowns UI Office Walkthrough.
  • Which Office Walkthrough props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "office-walkthrough" }) and search_docs({ query: "office walkthrough" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Office Walkthrough, or found something off? We read every message.