Command Palette

Search for a command to run...

Workflow Card

A card component for displaying workflow automations with rotated tool icons, execution stats, and action buttons.

Usage in Gaia

The automation interface. Visualizes agentic workflows and their status.

Features

Installation

npx shadcn@latest add https://ui.heygaia.io/r/workflow-card.json

Usage

import { WorkflowCard } from "@/components/ui/workflow-card";
 
export default function Example() {
  return (
    <WorkflowCard
      title="Email Summary Workflow"
      description="Summarize your daily emails automatically"
      steps={[
        { id: "1", title: "Fetch emails", toolCategory: "email" },
        { id: "2", title: "Summarize", toolCategory: "documents" },
      ]}
      totalExecutions={1250}
      isActivated={true}
      onAction={() => console.log("Run workflow")}
    />
  );
}

Props

WorkflowCard

PropTypeDefaultDescription
titlestring-Workflow title
descriptionstring-Workflow description
stepsWorkflowStep[]-Array of workflow steps
totalExecutionsnumber0Total execution count
isActivatedbooleanfalseActivation status (user variant)
triggerLabelstring-Trigger description
variant"user" | "explore" | "suggestion""explore"Card variant
actionLabelstring-Custom action button label
isLoadingbooleanfalseShow loading spinner
onAction() => void-Action button handler
onClick() => void-Card click handler

WorkflowStep

PropertyTypeDescription
idstringStep identifier
titlestringStep title
descriptionstringOptional description
toolCategorystringCategory for icon/color

Supported Categories