Agent Screen
ProNewLive 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
| Prop | Type | Default |
|---|---|---|
| steps* | AgentStep[]Sequence of agent cursor actions to play on the screen. | — |
| title | stringTitle shown in the chrome header. | "Agent browser" |
| interval | numberMilliseconds between steps during playback. | 1800 |
| onTakeOver | () => voidCalled when the user clicks Take Over. | — |
| className | string | — |
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.