Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Agent Screen

ProNew

Live simulated agent browser viewport with gliding cursor, click ripples, recording toggle, step scrubber, and Take Over.

Installation

pnpm dlx shadcn@latest add @viewport/agent-screen

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
steps*AgentStep[]

Sequence of agent cursor actions to play on the screen.

—
titlestring

Title shown in the chrome header.

"Agent browser"
intervalnumber

Milliseconds between steps during playback.

1800
onTakeOver() => void

Called when the user clicks Take Over.

—
classNamestring—

Accessibility

  • Play/pause, record, take over, and step buttons are labelled controls with pressed/current states.
  • Current step label is exposed through a status region.
  • Auto-playback and click ripples pause under reduced motion.