Step Header
Heads one step of a setup flow: a numbered 20 px circle, a 14 px title and an optional muted hint on the same line.
BetaReady to use. Its API can still change in a minor release; the changelog says when.
import { StepHeader } from "@leap-crm/design-system";Playground
Change a prop and the component follows. Its code is under Props.
Step 1: Choose a matter type
Props
step
title
hint
level
Best practices
When to use it, and the rules that apply in particular places.
| Guidance | Practice |
|---|---|
| Do | Use it for the steps of a setup flow a firm works through in order, like getting enquiries into the CRM, then inviting the team. |
| Do | Keep the title to what the step achieves, and put how to do it in hint, so the numbered titles read as a checklist. |
| Do | Set level to fit the page's outline. The number and title are read as one heading, like "Step 1: Invite your team". |
| Don't | Number sections that can be done in any order. Use SectionHeader, so the numbers never suggest a sequence that isn't there. |
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| step * | number | — | The step's number, in a 20 px circle. |
| title * | ReactNode | — | What the step is about. Read with its number as one heading. |
| hint | ReactNode | — | A muted hint after the title, on the same line. |
| level | 2 | 3 | 4 | 3 | The heading level the title takes in the page's outline. |
| className | string | — | Classes added to the root element, merged with its own. Tokens only. |
Code
What the playground shows, ready to copy.
import { StepHeader } from "@leap-crm/design-system";
<StepHeader step={1} title="Choose a matter type" />




