Agent Operations Hero
motiq/agent-operations-heroFreeBlock
An editable hero block for AI/automation products that shows a real agent workflow with outcome copy + CTAs. Composes Agent Run Timeline (trimmed), Prompt Composer (compact), Tool Call Activity (one active tool), and Source Citation Rail (one result) at reduced complexity across idle/running/tool-active/waiting-for-approval/completed/failed. App-controlled — never simulates a model or shows chain-of-thought. SSR-safe, reduced-motion-safe. Clearly-fictional demo data.
Live preview
live · rendered by the registry
Rendered by motiq on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://www.motiq.dev/r/agent-operations-hero.jsonSource
1"use client";23import * as React from "react";45import { cn } from "@/lib/utils";6import {7 getStatusMeta,8 statusVars,9 useControllableState,10 type StatusTone,11} from "@/lib/motiq";12import {13 AgentRunTimeline,14 type AgentRun,15 type RunStep,16 type RunStatus,17 type StepStatus,18} from "@/components/motiq/agent-run-timeline";19import {20 ToolCallActivity,21 type ToolCall,22 type ToolCallStatus,23} from "@/components/motiq/tool-call-activity";24import {25 SourceCitationRail,26 CitationMarker,27 type CitationSource,28} from "@/components/motiq/source-citation-rail";29import {30 PromptComposer,31 type ComposerStatus,32} from "@/components/motiq/prompt-composer";3334/**35 * AgentOperationsHero — an editable hero for AI / automation products. A wide36 * copy band (eyebrow + a real headline + support copy + two CTAs + live status)37 * sits above a full-width "app window" that renders a *live, reduced* preview of38 * a real agent workflow; when the surface is wide enough the workflow tiles into39 * two columns so the hero holds a calm height. It is authored mobile-first: in a40 * narrow container the CTAs are full-width 44px bars, the surface leads with the41 * prompt + the run, and the tool call plus cited sources sit behind a real42 * disclosure (`defaultDetailsOpen` opens it). Composed from released Motiq43 * components at deliberately trimmed complexity:44 * • PromptComposer — ONE compact prompt input45 * • AgentRunTimeline — ONE workflow, three steps, with approval + retry46 * • ToolCallActivity — ONE active tool call47 * • SourceCitationRail — ONE grounded result with its cited sources48 *49 * It is strictly a *presentation* composition. It never talks to a model, never50 * executes an agent, never retrieves anything, never reveals chain-of-thought,51 * and never fabricates a result. The application owns the workflow state; this52 * block simply renders whatever `phase` + `dataset` it is given and reports user53 * intent (submit / approve / reject / retry / cancel / stop) back by moving the54 * phase. It ships clearly-fictional inline demo data so it renders standalone.55 *56 * EVERY layout decision is a *container* query, not a viewport query. The block57 * is routinely dropped into a documentation column or a dashboard panel that is58 * far narrower than the window, where `lg:` would claim room the component does59 * not have and split an 800px panel into two 320px columns. Two named contexts60 * drive the whole composition:61// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from motiq
All 100 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| AI Agent Workspaceai-agent-workspace | motiq | Blocks | Free | 1 dep | |
| AI Interface Packai-interface-pack | motiq | Blocks | Free | 1 dep | |
| Collaboration Packcollaboration-pack | motiq | Blocks | Free | 1 dep | |
| Collaborative Launch Herocollaborative-launch-hero | motiq | Blocks | Free | 1 dep | |
| Collaborative Review Workspacecollaborative-review-workspace | motiq | Blocks | Free | 1 dep | |
| Data Motion Packdata-motion-pack | motiq | Blocks | Free | 1 dep | |
| Deployment Command Centerdeployment-command-center | motiq | Blocks | Free | 1 dep | |
| Deployment Control Herodeployment-control-hero | motiq | Blocks | Free | 1 dep |
