Block
Sequence Performance
Reply rate per sequence, with below-average rows in gray.
react-aria-componentslucide-react
Preview
Sequence performance
Reply rate by active sequence · last 30 days
Avg. reply rate
8.6%+0.7 pts
Meetings
20+5
Emails sent
3,960+11%
- Post-event: SaaStr13.8%3 mtgs
- Series B — VP Sales11.2%6 mtgs
- UK Revenue Leaders10.5%4 mtgs
- Hiring SDRs7.9%5 mtgs
- Re-engage closed-lost5.4%2 mtgs
Sequences below the 8.6% workspace average are shown in gray.
import { SequencePerformance } from "@/components/blocks/sequence-performance";
import { sequences } from "@/lib/demo-data";
export default function Example() {
return <SequencePerformance rows={sequences} className="w-full max-w-2xl" />;
}Installation
Components are copied into your project — no runtime package.
Install the following dependencies:
terminalnpm install react-aria-components lucide-reactCreate a
sequence-performance.tsxfile and paste the following code into it.src/components/blocks/sequence-performance.tsx"use client"; import { ArrowRight, Send } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card, CardBody, CardHeader, IconTile } from "@/components/ui/card"; import { Delta, Metric } from "@/components/ui/metric"; import { cx } from "@/utils/cx"; export interface SequenceRow { name: string; rate: number; meetings: number; } /** Reply rate per sequence. Rows below the workspace average are shown in gray. */ export function SequencePerformance({ rows, average = 8.6, className }: { rows: SequenceRow[]; average?: number; className?: string }) { const max = Math.max(...rows.map((r) => r.rate), 1); return ( <Card className={className}> <CardHeader icon={ <IconTile tone="rose"> <Send /> </IconTile> } title="Sequence performance" description="Reply rate by active sequence · last 30 days" actions={ <Button size="sm" trailingIcon={<ArrowRight />}> Sequences </Button> } /> <CardBody> <div className="grid grid-cols-3 gap-px border-b border-line bg-line"> <Metric size="md" className="bg-surface p-4" label="Avg. reply rate" value={`${average}%`} delta={<Delta value={0.7}>+0.7 pts</Delta>} /> <Metric size="md" className="bg-surface p-4" label="Meetings" value="20" delta={<Delta value={5}>+5</Delta>} /> <Metric size="md" className="bg-surface p-4" label="Emails sent" value="3,960" delta={<Delta value={11} />} /> </div> <ul className="flex flex-col gap-4 p-4"> {rows.map((r) => { const above = r.rate >= average; return ( <li key={r.name} className="grid grid-cols-[minmax(0,1fr)_minmax(0,1.2fr)_3rem_4rem] items-center gap-3 text-base"> <span className="truncate text-fg">{r.name}</span> <span className="h-1.5 overflow-hidden rounded-full bg-active"> <span className={cx("block h-full rounded-full", above ? "bg-accent" : "bg-chart-neutral")} style={{ width: `${(r.rate / max) * 100}%` }} /> </span> <span className="text-right tabular text-fg">{r.rate}%</span> <span className="text-right text-sm tabular text-fg-muted">{r.meetings} mtgs</span> </li> ); })} </ul> <p className="px-4 pb-4 text-sm text-fg-muted">Sequences below the {average}% workspace average are shown in gray.</p> </CardBody> </Card> ); }Add the theme tokens and the
cxhelper from Installation if you haven’t yet, then update the import paths to match your project setup.