Sequence
docs
React components

Customer journey

A stacked card animation representing stages of a customer journey.

Overview

The CustomerJourney component displays a series of cards (Retain, Evaluate, Discover) that stack and animate to visualize a workflow or journey. It uses a "wave" animation effect to draw attention.

Usage

import { CustomerJourney } from '@/components/core/features/customer-journey';

function Features() {
  return <CustomerJourney />;
}

Props

PropTypeDefaultDescription
data?StackedCardProps[]defaultDataArray of card data objects.
idleTime?number900Delay before animation starts.
waveCount?number3Number of wave animations to perform.
waveDelay?number2000Delay between wave cycles.
className?string-Optional CSS class names.

Data Interface

interface StackedCardProps {
  title: string;
  icon: LucideIcon | React.ComponentType<React.SVGProps<SVGSVGElement>>;
  iconClassName?: string;
  content: React.ReactNode;
  originalY: number;
}

On this page