import type { ReactNode } from 'react'; export interface StepCardProps { /** Two digits, in the accent. "01", not "1". */ step: string; title: string; children: ReactNode; /** Short capability chips under the copy. */ chips?: string[]; /** The product shot. Cropped in browser chrome on the reference, and below the fold. */ figure?: ReactNode; className?: string; } /** * A numbered step: copy on the left, the product on the right. It sets * `container-type: inline-size`, because the split is a fact about the card's own * width — the same card appears full-bleed and inside a narrower column on one page. */ export function StepCard({ step, title, children, chips, figure, className }: StepCardProps) { return (
{step}

{title}

{children}
{chips !== undefined && chips.length > 0 && ( )}
{figure !== undefined &&
{figure}
}
); }