"use client"; import { motion } from "framer-motion"; import { IconCheck } from "@tabler/icons-react"; import { cn } from "../lib/utils"; import { transitions } from "../lib/motion"; /** Progress through a multi-step flow. */ export function Steps({ steps, current, className, }: { steps: Array<{ label: string; description?: string }>; /** Index of the active step. Earlier steps show as done. */ current: number; className?: string; }) { return (