Patterns
Copy-paste animated UI patterns for AI products, organized by category.
agents
6 patternsCreate Agent
A two-step wizard card for naming an agent, picking its icon, and selecting which event sources activate it.
Agent Triggers
A configuration panel for listing and toggling the external events that activate an agent, with a manual run control.
Human in the Loop Question
A compact dialog that pauses an agent mid-task to collect a structured choice — radio options, a free-text fallback, skip/continue controls, and multi-step pagination.
Background Tasks Drawer
A side drawer that tracks an agent's background work live — running tasks with elapsed time, stats, and stop controls, plus an expandable history of finished commands and output.
Instruction Tool Insert
A numbered instruction editor where typing / opens a two-step inline picker — choose a tool, then its connector or target — inserting an atomic, editable chip into the prose.
Procedure Builder
A doc-style editor for an agent's step-by-step procedure — a / step picker, IF / ELSE branches with plain-language or code conditions, section jumps, and escalate / switch actions.
traces
2 patternsloaders
3 patternstext
7 patternsStreaming Text
A streamed answer with inline sources, actions, and follow-ups.
Inline Citation
A hoverable, clickable footnote-style source marker inline within text.
Sources Stack
An overlapping stack of source favicons with a count, expanding into a linked source list.
Source Trust Card
A paginated single-source card with a trust badge and domain pills for jumping between sources.
Follow-Up List
A vertical list of suggested next questions shown after a response, each sendable with a tap.
Selection Actions
A floating toolbar on text selection for describing edits, explaining, or improving a passage.
Refinement Controls
One-tap adjustments (Rephrase, Shorten, More formal, Bulletize…) and a free-form instruction field docked under an AI output, with every result kept as a steppable version.
composer
2 patternscode
3 patternsflowcharts
1 patternmessages
1 patternpermissions
2 patternsuploads
1 patternmedia
1 patternerrors
5 patternsRate Limit
A quota-exceeded state with a live countdown to when the user can send again.
Partial Response
A cut-short assistant reply with Continue and Retry actions.
Generation Error
A console-style error card for a failed generation, with details and retry.
Console Error Card
A structured card surfacing a browser console error with a code frame, call stack, and navigation.
Connectivity Error
A dismissible card surfacing a network connection failure with a description and retry/details actions.
compare
1 patternindicators
1 patternvoice
3 patternscollaboration
1 patternaccess
1 patternonboarding
1 patterntables
3 patternsDescribe Filters
A Describe button in a table toolbar that turns a plain-language request into removable filter chips — column filters where a column exists, marked semantic matches where none does.
AI Fill Drawer
A record drawer of key/value fields where the model fills the empty values — each arrives as a sourced suggestion to accept, edit or reject.
Natural Language Query
A SQL-first query bar that also takes plain language — the mode badge flips to Ask, and Enter translates the request into a visible, editable WHERE clause before running it.