docs / patterns / step-chips
StepChips
a short numbered sequence in one row, sized to sit inside a banner or under a heading rather than to carry a page.
intensity · structuresrsc · server
provenance
shaped from sisu-pluslayer
core / patternsintensity
structures · organizes a region, stays out of the contentcomposition
inside a CtaBanner or under a section heading, as a one-line pitchthree or four steps of a few words eachno interactive steps. it describes a sequence, it does not track oneno bodies under the steps, that is StepLista11y
an ordered list, so position comes free · the number and arrow arearia-hidden to avoid double announcing · takes aria-labeljest-axelive demo · try it out
- Install the extension
- Sign in
- Done
usage
import { StepChips } from "@usva-ui/react/patterns/step-chips";
<StepChips
aria-label="Setup steps"
steps={["Install the extension", "Sign in", "Done"]}
/>props
| prop | type | default | notes |
|---|---|---|---|
| steps | React.ReactNode[] | — | the steps, in order. keep each one a few words. |
| aria-label | string | — | names the sequence, e.g. "Setup steps". |
get it
bun add @usva-ui/reactusage
import { StepChips } from "@usva-ui/react/patterns/step-chips";
<StepChips
aria-label="Setup steps"
steps={["Install the extension", "Sign in", "Done"]}
/>