Sequence
docs
React components

Automatic guidance

A component visualizing a step-by-step automated workflow.

Overview

The AutomaticGuidance component demonstrates an automated process, such as lead processing. It cycles through a list of steps, showing "Processing" and "Done" states for each step with animations.

Usage

import { AutomaticGuidance } from '@/components/core/features/automatic-guidance';

const steps = ['Step 1', 'Step 2', 'Step 3'];

function WorkflowDemo() {
  return <AutomaticGuidance data={steps} />;
}

Props

PropTypeDefaultDescription
data?string[]['...']List of steps to cycle through.
processingDuration?number2000Processing time duration in milliseconds (ms).
delayDuration?number800Delay time before continue to next steps in milliseconds (ms).
resetDelay?number1000Time to wait before reset steps in milliseconds (ms).
className?string-Optional CSS class names.

On this page