Skip to content

TakeoverBar

Stable

A full-width bar that says who is in control: you, or the assistant.

Also known as take control, pause agent, human takeover

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Take over, then give it back

The agent is working

Press Take over to pause the assistant. Resume or Hand back lets it continue. The second button shows the watch state.

When to use it

Makes control of a shared screen obvious, so the assistant never acts while the person thinks they are in charge. It offers the matching way to change control, so people can step in and hand back without stopping the run.

Made of: State icon · Status sentence · Step you are watching (watch mode) · Actions: Take over, Resume, Hand back

Use it for

  • Above a screen or browser the assistant is operating, so people can take over at any time.
  • Pausing the assistant while the person does a step themselves.
  • Asking the person to watch one sensitive step, such as a payment.

Not for

Do and avoid

This step needs you to watch

The agent will wait while you watch: Paying for the room

Do. Says who is in control, with Take over right there.

The agent is working

Avoid. Take over hidden in a menu means people cannot step in fast.

Do

  • Keep the bar visible for the whole run so it is always clear who is in charge.
  • Use the watch state only for steps that really need a person, such as payment or sign-in.
  • Say what the assistant is not doing while you have control.
  • Keep the buttons plain: Take over, Resume, Hand back.

Avoid

  • Do not use amber for the working or you-control states.
  • Do not let the assistant keep acting while the bar says you have control.
  • Do not hide Take over in a menu.
  • Do not collect passwords or card numbers through the assistant.

On a phone

  • The text and the buttons wrap onto two lines on a narrow screen, with the buttons on the right of the second line.
  • The buttons keep their size and have a 44px tap area on a touch screen.
  • Nothing depends on hover, and the status text is announced when control changes hands.

Seen in products

  • ChatGPT agent: takeover for credentials and payment, and watch mode on sensitive sites such as email and banking.
  • Chrome auto browse: a Take over task button, a Check your task button and a marker on the active tab.
  • Devin: an interactive browser and shell for direct takeover, with advice to say what you changed when you hand back.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started