Skip to content
ArcadiaDesign

Your email

Step 2 of 5

TSX

Where a walk of a few steps stands: a sign-up, a reset, a product's first run. One mark a step, the one you are on in full ink and the rest quiet, never the accent. It takes how many steps there are and which one is current, nothing else: the marks are not links, and a step is gone back to by the walk's own Back.

The words are a reader's: "Step 2 of 5". The eye reads the marks, and the step's title already says where you are, so nothing under the form repeats it.

Examples

On the card

The same marks at the foot of a card: a first run of two steps.

Name your team

Step 1 of 2

Counts

A walk of two steps to one of eight, each on its middle step. The marks give a little where the room runs short.

Step 1 of 2
2 steps
Step 2 of 3
3 steps
Step 3 of 5
5 steps
Step 4 of 8
8 steps

Step of five

The marks are hidden from a reader; one line of text, visually hidden, says "Step 2 of 5" in their place, read as plain text where the marks stand. The current mark is told apart by its ink, a full step of contrast from the rest, and the step's title says it in words too.

StepMarks

steprequired
number
The step the walk is on, from 1.
countrequired
number
How many steps the walk has.
rootStyle
RootStyle
Typed StyleX override: layout.

Rest props go to HTMLAttributes<HTMLDivElement>.