# Sequence Steps

> An outreach sequence (cadence): emails, calls, LinkedIn touches, tasks and waits by day, with sent, open and reply rates where there are numbers.

Component · CRM · Halo kit · [Live page](https://ui.twentyfirst.media/halo/components/SequenceSteps/)

An outreach sequence (cadence): emails, calls, LinkedIn touches, tasks and waits by day, with
sent, open and reply rates where there are numbers.

- Rates are worked out from `stats.sent` and shown in words ("48% opened").
- `onSelect(id)` makes each step a button; `selected` marks the open one.

## Example

```tsx
import * as React from "react";
import { Panel, SequenceSteps } from "@twentyfirstmedia/halo";
import { STEPS } from "./_sales";

export default function Preview() {
  const [selected, setSelected] = React.useState("1");
  return (
    <Panel title="Outdoor retail Q4" subtitle="Sequence · 6 steps · 240 enrolled">
      <SequenceSteps steps={STEPS} selected={selected} onSelect={setSelected} />
    </Panel>
  );
}
```

## Props

### SequenceSteps

| Prop | Type | Notes |
| --- | --- | --- |
| `steps` | `SequenceStep[]` | Required |
| `onSelect?` | `(id: string) => void` | Makes each step a button. |
| `selected?` | `string` |  |
| `label?` | `string` | Accessible name (default "Sequence"). |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |

### Panel

| Prop | Type | Notes |
| --- | --- | --- |
| `side?` | `boolean` |  |
| `title?` | `string` |  |
| `subtitle?` | `string` |  |
| `action?` | `ReactNode` |  |
| `children?` | `ReactNode` |  |
| `surface?` | `Surface` | `"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`. |
| `className?` | `string` | Extra class on the root element. |
| `style?` | `CSSProperties` | Inline style on the root element. |
