Preview
Installation
- CLI
- Manual
Usage
Basic Workflow (Explore)
User’s Active Workflow
Clickable Card
With Loading State
Props
Workflow title displayed prominently at the top
Brief description of what the workflow does. Displayed below the title.
Array of workflow steps that determine the tool icons displayed
Total number of times this workflow has been executed. Automatically formatted (1.2K, 3.5M).
Whether the workflow is currently active (only shown in
user variant)Display text for the workflow trigger (e.g., “Every morning at 8 AM”)
Card variant that determines appearance and behavior:
user: Shows activation status, “Run” buttonexplore: Default discovery mode, “Create” buttonsuggestion: Recommended workflows
Custom label for the action button. Defaults to “Run” (user) or “Create” (explore/suggestion).
Shows loading spinner in the action button when true
Callback when the action button is clicked
Callback when the card itself is clicked. Enables hover states.
When true, shows description in tooltip instead of inline
Additional CSS classes to apply to the card
Custom category configurations to override default icons and colors
Supported Categories
The component includes built-in styling for these tool categories:- productivity - Emerald green for task and project management tools
- documents - Orange for document processing and editing
- development - Cyan for developer tools and APIs
- memory - Indigo for knowledge management and storage
- creative - Pink for design and creative tools
- goal_tracking - Emerald for goal and habit tracking
- notifications - Yellow for messaging and alerts
- email - Blue for email and communication
- calendar - Purple for scheduling and time management
- search - Teal for search and discovery tools
- general - Gray fallback for uncategorized tools
Features
Rotated Tool Icons
The signature visual feature: tool category icons are displayed with an alternating rotation effect (±8 degrees) that creates an eye-catching, dynamic appearance. Icons overlap slightly with proper z-index stacking.Multiple Variants
- User: For workflows owned by the user, showing activation status and run counts
- Explore: For browsing available workflows in a gallery
- Suggestion: For recommended workflows based on user behavior
Execution Count Formatting
Counts are automatically formatted:- 1,250 → “1.2K runs”
- 3,500,000 → “3.5M runs”
Smart Icon Display
Shows up to 3 unique category icons with a “+N” indicator if there are more. Duplicate categories are automatically deduplicated.Activation Status Badge
Inuser variant, shows a green “Active” or gray “Inactive” badge to indicate workflow status.
Action Buttons
Configurable action buttons with:- Loading states with spinning icon
- Click event propagation handling
- Theme-aware styling (solid blue for explore, flat for user)
Dark Mode Support
Fully adapts to dark mode with appropriate contrast ratios and color adjustments.Usage in Gaia
The Workflow Card is the core component of Gaia’s automation interface, visualizing agentic workflows and their status throughout the platform. It’s used in:- Workflow galleries and discovery pages
- User’s workflow dashboard
- Workflow suggestions and recommendations
- Search results for automation templates
Accessibility
- Proper button semantics with
roleandtabIndex - Keyboard navigation support (Enter and Space keys)
- Action button clicks don’t trigger card click
- ARIA labels on icon elements
- Visual focus indicators
The component uses a maximum of 3 category icons for visual clarity. If your workflow has more tool categories, they’ll be indicated with a “+N” badge.