Agentic navigation
Contextual taskbar
Use when the agent can help on many different screens and users should not have to open a chat to find out how.
A floating bar that resizes to its context: tinted agent suggestions beside your own solid action.
Part of Agentic navigation. The stage before any single conversation: how people get to the agent and move between agents. One bar follows whatever is on screen and offers the next step. One deck lets a person with several agents, across several parts of their life, find the right one in a swipe.
Do
- Keep the bar to two agent suggestions and one action of the user's own, so the choice stays quick.
- Make agent suggestions and user actions look different. Here suggestions are tinted with a spark and the user's action is solid, after a divider.
- Replace the items with a status line while something runs, so the bar says what is happening in the same place the user tapped.
Don't
- Don't show the same suggestions on every screen. If the items never change, it is a toolbar.
- Don't let the bar jump between widths. Ease it, and take longer for bigger changes.
- Don't put destructive or irreversible actions in the bar. They need a confirmation it has no room for.
States
- Resting: A microphone, two tinted agent suggestions, a divider, one solid user action and two icon actions. The bar is exactly as wide as its items.
- Context change: The heading and content swap, the old items leave, the new ones enter one after another, and the bar eases to its new width. Bigger changes take longer.
- Agent working: After an agent suggestion is chosen the items give way to a status line, "Alpha is on it: Draft a reply", then return.
- Action confirmed: After the user's own action or an icon action, a tick and a short confirmation such as "Sent to Priya" show briefly.
- Listening: The microphone fills with the accent and the bar shows a pulsing dot beside "Listening".
Usage
import { ContextBarPattern } from "./halaska-kit";
<ContextBarPattern />
Built from
Avatar, Badge, Calendar, Stack, Typography
Related patterns
Halaska UI · Components · Patterns · Screens · Install