Stepper
alphaShows which step of an ordered process someone is on: which ones are done, which one is current, which one has an error, and which one is being validated. By default it’s an indicator; when navigable, it lets people go back to a step already reached or a step with an error.
Navigation · TaishoDS Core, in plain HTML.
Examples
One working example per case. Each example is the HTML of its preview—copy it as is, and with Core’s CSS and JS loaded, it looks and works the same.
New project setup
- 1 Project Completed
- 2 Plan
- 3 Team
- 4 Review
-
Step 2 of 4 · Plan
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="New project"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="4"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="revision"
aria-posinset="4"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">4</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Review</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="4"
aria-valuenow="2"
aria-valuetext="2 of 4"
>
<span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span><span data-progress-step=""></span
><span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 4 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>Navigable
- 4 Review
-
Step 3 of 4 · Team
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="New project, navigable"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="4"
>
<button type="button" class="ts stepper-trigger" data-ts-stepper-trigger="">
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
</button>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="4"
>
<button type="button" class="ts stepper-trigger" data-ts-stepper-trigger="">
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
</button>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="4"
>
<button
type="button"
class="ts stepper-trigger"
data-ts-stepper-trigger=""
aria-current="step"
aria-disabled="true"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
</button>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="revision"
aria-posinset="4"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">4</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Review</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="4"
aria-valuenow="3"
aria-valuetext="3 of 4"
>
<span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span><span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 3 of 4 · Team</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>Navigable with links
- 1 Project Completed
- 2 Plan Completed
- 4 Review
-
Step 3 of 4 · Team
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="New project, with links"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="4"
>
<a class="ts stepper-trigger" href="#paso-proyecto"
><span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span></a
>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="4"
>
<a class="ts stepper-trigger" href="#paso-plan"
><span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state="">Completed</span></a
>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="4"
>
<button
type="button"
class="ts stepper-trigger"
data-ts-stepper-trigger=""
aria-current="step"
aria-disabled="true"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
</button>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="revision"
aria-posinset="4"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">4</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Review</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="4"
aria-valuenow="3"
aria-valuetext="3 of 4"
>
<span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span><span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 3 of 4 · Team</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>With an error and validating
- We couldn’t process the payment.
- 4 Review
-
Step 3 of 4 · Team
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="Setup with a step in error"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="4"
>
<button type="button" class="ts stepper-trigger" data-ts-stepper-trigger="">
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
</button>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-invalid"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="4"
>
<button
type="button"
class="ts stepper-trigger"
data-ts-stepper-trigger=""
aria-describedby="s4-1-desc"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state="">Error</span>
</button>
<span class="ts stepper-description" id="s4-1-desc">We couldn’t process the payment.</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active is-loading"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="4"
aria-busy="true"
>
<button
type="button"
class="ts stepper-trigger"
data-ts-stepper-trigger=""
aria-current="step"
aria-disabled="true"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state="">Validating</span>
</button>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="revision"
aria-posinset="4"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">4</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Review</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="4"
aria-valuenow="3"
aria-valuetext="3 of 4"
>
<span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span><span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 3 of 4 · Team</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>Custom icons and an optional step
- Project Completed
- Plan
- TeamOptional
- Review
-
Step 2 of 4 · Plan
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="New project, with icons"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending"
><svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
>
<rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" />
<path d="m9 14 2 2 4-4" /></svg
></span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="4"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending"
><svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
>
<rect width="20" height="14" x="2" y="5" rx="2" />
<line x1="2" x2="22" y1="10" y2="10" />
<path d="M6 14h2" /></svg
></span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending"
><svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
>
<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" />
<path d="M16 3.128a4 4 0 0 1 0 7.744" />
<path d="M22 21v-2a4 4 0 0 0-3-3.87" />
<circle cx="9" cy="7" r="4" /></svg
></span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Team<span class="ts stepper-optional">Optional</span></span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="revision"
aria-posinset="4"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending"
><svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
>
<rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" />
<path d="m9 14 2 2 4-4" /></svg
></span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Review</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="4"
aria-valuenow="2"
aria-valuetext="2 of 4"
>
<span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span><span data-progress-step=""></span
><span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 4 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>Vertical with descriptions
- 1 Queued Completed Ana Torres requested it for Production.
- 2 Building Building the main branch.
- 3 Ready It goes live in Production.
-
Step 2 of 3 · Building
<ol
class="ts stepper orientation-vertical size-md"
data-ts-stepper=""
role="list"
aria-label="Payments API deployment"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="en-cola"
aria-posinset="1"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Queued</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span class="ts stepper-description" id="s6-0-desc"
>Ana Torres requested it for Production.</span
>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="construyendo"
aria-posinset="2"
aria-setsize="3"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Building</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span class="ts stepper-description" id="s6-1-desc">Building the main branch.</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="listo"
aria-posinset="3"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Ready</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span class="ts stepper-description" id="s6-2-desc">It goes live in Production.</span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="3"
aria-valuenow="2"
aria-valuetext="2 of 3"
>
<span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span><span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 3 · Building</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>Narrow container
- 1 Project Completed
- 2 Plan
- 3 Team
- 4 Review
-
Step 2 of 4 · Plan
<div class="ts max-w-256 w-full">
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="New project, narrow"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="4"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="revision"
aria-posinset="4"
aria-setsize="4"
>
<span class="ts stepper-indicator" aria-hidden="true"
><span data-stepper-mark="pending">4</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span
></span>
<span class="ts stepper-label">Review</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="4"
aria-valuenow="2"
aria-valuetext="2 of 4"
>
<span data-progress-step="" class="is-filled"></span
><span data-progress-step="" class="is-filled"></span><span data-progress-step=""></span
><span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 4 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>
</div>Class reference
Every value of each modifier, with its HTML ready to copy.
Size
sm, md (default), or lg: they change the mark and the label.
- 1 Project Completed
- 2 Plan
- 3 Team
-
Step 2 of 3 · Plan
- 1 Project Completed
- 2 Plan
- 3 Team
-
Step 2 of 3 · Plan
- 1 Project Completed
- 2 Plan
- 3 Team
-
Step 2 of 3 · Plan
<ol
class="ts stepper orientation-horizontal size-sm"
data-ts-stepper=""
role="list"
aria-label="Size sm"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-12"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-12"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="3"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-12"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-12"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-12"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="12"
height="12"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-12"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="3"
aria-valuenow="2"
aria-valuetext="2 of 3"
>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 3 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="Size md"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="3"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="3"
aria-valuenow="2"
aria-valuetext="2 of 3"
>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 3 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>
<ol
class="ts stepper orientation-horizontal size-lg"
data-ts-stepper=""
role="list"
aria-label="Size lg"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-16"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-16"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="3"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-16"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-16"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-16"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-16"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="3"
aria-valuenow="2"
aria-valuetext="2 of 3"
>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 3 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>Orientation
horizontal (a row, the default) or vertical (a column with the connector under the mark).
- 1 Project Completed
- 2 Plan
- 3 Team
-
Step 2 of 3 · Plan
- 1 Project Completed
- 2 Plan
- 3 Team
-
Step 2 of 3 · Plan
<ol
class="ts stepper orientation-horizontal size-md"
data-ts-stepper=""
role="list"
aria-label="Orientation horizontal"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="3"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="3"
aria-valuenow="2"
aria-valuetext="2 of 3"
>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 3 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>
<ol
class="ts stepper orientation-vertical size-md"
data-ts-stepper=""
role="list"
aria-label="Orientation vertical"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="proyecto"
aria-posinset="1"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Project</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="plan"
aria-posinset="2"
aria-setsize="3"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Plan</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="equipo"
aria-posinset="3"
aria-setsize="3"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Team</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="3"
aria-valuenow="2"
aria-valuetext="2 of 3"
>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 2 of 3 · Plan</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>States
is-complete, is-invalid, is-loading, is-active (with aria-current), and is-disabled, on the step.
- 1 Done Completed
- 2 Error Error The payment method is missing.
- 3 Validating Validating
- 4 Current
- 5 Disabled Unavailable
- 6 Pending
-
Step 4 of 6 · Current
<ol
class="ts stepper orientation-vertical size-md"
data-ts-stepper=""
role="list"
aria-label="Step states"
>
<li
class="ts stepper-step is-complete"
data-ts-stepper-step=""
data-ts-value="hecho"
aria-posinset="1"
aria-setsize="6"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">1</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Done</span>
<span class="ts sr-only" data-stepper-state="">Completed</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-complete is-invalid"
data-ts-stepper-step=""
data-ts-value="error"
aria-posinset="2"
aria-setsize="6"
aria-describedby="v-s6-1-desc"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">2</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Error</span>
<span class="ts sr-only" data-stepper-state="">Error</span>
<span class="ts stepper-description" id="v-s6-1-desc">The payment method is missing.</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-complete is-loading"
data-ts-stepper-step=""
data-ts-value="validando"
aria-posinset="3"
aria-setsize="6"
aria-busy="true"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">3</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Validating</span>
<span class="ts sr-only" data-stepper-state="">Validating</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-active"
data-ts-stepper-step=""
data-ts-value="actual"
aria-posinset="4"
aria-setsize="6"
aria-current="step"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">4</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Current</span>
<span class="ts sr-only" data-stepper-state=""></span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step is-disabled"
data-ts-stepper-step=""
data-ts-value="deshabilitado"
aria-posinset="5"
aria-setsize="6"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">5</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Disabled</span>
<span class="ts sr-only" data-stepper-state="">Unavailable</span>
<span data-stepper-line="" aria-hidden="true"></span>
</li>
<li
class="ts stepper-step"
data-ts-stepper-step=""
data-ts-value="pendiente"
aria-posinset="6"
aria-setsize="6"
>
<span class="ts stepper-indicator" aria-hidden="true">
<span data-stepper-mark="pending">6</span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="complete"
>
<path d="M20 6 9 17l-5-5" />
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="ts icon icon-14"
data-stepper-mark="invalid"
>
<path d="M18 6 6 18" />
<path d="m6 6 12 12" />
</svg>
<span
class="ts spinner size-sm"
role="status"
aria-label="Loading"
data-stepper-mark="loading"
></span>
</span>
<span class="ts stepper-label">Pending</span>
<span class="ts sr-only" data-stepper-state=""></span>
</li>
<li data-stepper-summary="">
<div aria-hidden="true">
<div
class="ts progress size-sm variant-default is-steps"
role="progressbar"
aria-label="Progress"
aria-valuemin="0"
aria-valuemax="6"
aria-valuenow="4"
aria-valuetext="4 of 6"
>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step="" class="is-filled"></span>
<span data-progress-step=""></span>
<span data-progress-step=""></span>
</div>
<span data-stepper-summary-text="">Step 4 of 6 · Current</span>
</div>
<span class="ts sr-only" role="status" data-stepper-live=""></span>
</li>
</ol>When to use
- A sign-up, a checkout, or a setup in steps with a fixed order.
- It helps to know how much is left and where an error is.
- A process that moves on its own and is followed at a glance (a deployment: Queued, Building, Ready), vertical with descriptions.
When not to use
- The sections have no order and can be visited in any order →
tabs. - Only the amount of progress matters, without named steps →
progress. - It’s the location within a page hierarchy →
breadcrumbs.
Do
- One- or two-word labels, and few steps (3 to 6): in a narrow container only the marks and the summary remain.
- When the step changes, focus goes to the heading of the content being shown (with
tabindex="-1"), after checking the change wasn’t canceled: the component doesn’t move it. - The error message goes in the step’s description (
stepper-descriptionwitharia-describedby), not only in the color. - Give the root a width: it compresses based on its container’s width, so inside a flex row or a container that shrinks to its content it needs
ts w-fullorflex-1.
Don’t
- Don’t put triggers on steps not reached yet. They’re text, not disabled buttons. The current step keeps its own (Core sets
aria-disabledon it) so focus isn’t lost. - Don’t use it as a menu for a page with unrelated sections →
tabs.
Related
TaishoDS Core
Needs Core’s JS, which hooks in through data-ts-* attributes.
The indicator and steps with links work without JavaScript. With <button data-ts-stepper-trigger>, Core handles choosing another step, the summary, the live region, and compressing to the width.
Core hooks into it through these attributes. They go in the markup, and there’s nothing to initialize.
data-ts-stepperdata-ts-stepper-stepdata-ts-stepper-triggerdata-ts-value
What it does: A click on the trigger of a step that isn’t the current one emits ts:change ({ component: 'stepper', value, index }, cancelable) before changing anything. If nothing stops it, it moves is-active and aria-current="step" (on the trigger, or on the <li> if there’s none) to that step, and the new current step’s trigger gets aria-disabled="true": it stays, so focus isn’t lost, but it doesn’t activate or, if it’s a link, navigate. It doesn’t touch is-complete or is-invalid, which belong to the app, and it doesn’t move focus: the app moves it to the heading of the step it shows. If the app changes is-active in code, aria-current, the trigger, and the summary follow it (without ts:change), and when a step’s is-complete, is-invalid, is-loading, or is-disabled changes, Core rewrites its hidden text, aria-busy, and the error’s aria-describedby, and the live region announces it (“Plan: error. We couldn’t process the payment.”). While a trigger has focus, the summary says “Go to: Plan”. It measures whether the row fits its container, on init and whenever its width changes: if it doesn’t fit it sets is-compressed (the marks and the summary stay), and if it still doesn’t fit, is-minimal (the summary and the step bar); vertical never compresses. Without JavaScript, the root compresses below a 384 px container.
| Attribute | What it does |
|---|---|
data-ts-stepper | On the <ol class="ts stepper" role="list">: the root. It takes an aria-label. |
data-ts-stepper-step, data-ts-value | On each <li class="ts stepper-step">: the step and its value, which travels in ts:change. It carries aria-posinset and aria-setsize, so screen readers say “2 of 4” without counting the last <li>. |
data-ts-stepper-trigger | On the <button class="ts stepper-trigger"> of each step already reached or with an error: it makes it selectable. Steps not reached yet are text. An <a class="ts stepper-trigger" href> doesn’t take it: it navigates on its own. |
ts stepper-optional | Inside stepper-label: “Optional” under the label. |
data-stepper-state, data-stepper-mark | The hidden state text (“Completed”, “Unavailable”…) and the four marks in stepper-indicator (pending, complete, invalid, loading): CSS shows the one for the class’s state. A custom icon goes inside the pending mark. |
data-stepper-summary, data-stepper-live | On the last <li>: the visible summary (with aria-hidden="true", in data-stepper-summary-text, plus the step bar) and the live region (role="status") that announces state changes. |
is-sticky | On the root: it sticks to the top while scrolling, below another sticky bar (--ts-sticky-top), and publishes its height in --ts-sticky-offset. So focus isn’t covered, put ts scroll-pt-sticky on <html>. Inside a container with its own scroll, it sticks there and doesn’t add to the page’s height. |
From the CDN, without a build, load taisho.stepper.css along with taisho.base.css. Also load:
taisho.icon.csstaisho.progress.csstaisho.spinner.css
For how Core works in general, see Behavior.
Stop the change and move focus
With unsaved changes, cancel ts:change: the step doesn’t change and a role="status" region says why. If the change goes ahead, the app shows the step’s content and, after checking that nothing canceled it (queueMicrotask), moves focus to its heading: the Stepper doesn’t move focus. It’s the same pattern as the “Stop the change” example of the Svelte version.
<ol class="ts stepper" id="setup" role="list" data-ts-stepper aria-label="New project">…</ol>
<p class="ts type-copy-14 color-subtle" id="step-notice" role="status"></p>
<h3 id="step-title" tabindex="-1">Team</h3>
<script type="module">
const stepper = document.getElementById('setup');
const notice = document.getElementById('step-notice');
const title = document.getElementById('step-title');
let unsaved = true;
stepper.addEventListener('ts:change', (e) => {
if (unsaved) {
e.preventDefault();
notice.textContent = 'This step has unsaved changes: save them before switching.';
return;
}
notice.textContent = '';
queueMicrotask(() => {
if (e.defaultPrevented) return;
const step = stepper.querySelectorAll('[data-ts-stepper-step]')[e.detail.index];
title.textContent = step.querySelector('.stepper-label').firstChild.textContent;
title.focus();
});
});
</script>Theme tokens
Values you change from the theme, in themes.<theme>.components[…]. When a value has two, the second is for compact density.
| Variable | Type | Factory value |
|---|---|---|
--ts-stepper-mark-size-sm | length | var(--ts-sizing-20) / var(--ts-sizing-18) |
--ts-stepper-mark-size | length | var(--ts-sizing-24) / var(--ts-sizing-20) |
--ts-stepper-mark-size-lg | length | var(--ts-sizing-28) / var(--ts-sizing-24) |
--ts-stepper-connector-width | length | var(--ts-sizing-2) |
--ts-stepper-connector-color | color | var(--color-gray-200) |
--ts-stepper-connector-color-complete | color | var(--color-gray-1000) |
--ts-stepper-fill | color | var(--color-primary-solid) |
--ts-stepper-fill-text | color | var(--color-primary-solid-contrast) |
--ts-stepper-ring | color | var(--ts-stepper-fill, var(--color-primary-solid)) |
Accessibility
- It’s an
<ol>with an explicitrole="list"(Safari drops list semantics from an<ol>without bullets) and anaria-label. Each step carriesaria-posinsetandaria-setsize, so it’s announced as “2 of 4”. The last<li>holds the summary and the live region: the list counts one more item (a screen reader may say “list, 5 items”), a limit of<ol>, which only accepts<li>children. - The current step carries
aria-current="step"on its trigger if it has one, otherwise on the<li>. Core keeps exactly one, also when the app changesis-activein code. - State doesn’t rely on color or the icon. Each step carries hidden text (
data-stepper-state) saying “Completed”, “Error”, “Validating”, or “Unavailable”. The mark isaria-hiddenand holds all four (number, check, cross, and Spinner); CSS shows the one for the state. When the app changesis-complete,is-invalid,is-loading, oris-disabledin code, Core rewrites the hidden text,aria-busy, and the error message’saria-describedby. The current step adds a ring with a gap, so it stands out among many completed steps without relying on the fill. - A step with an error links its message (
stepper-description) witharia-describedby, on the trigger if it has one and on the step otherwise. A step being validated carriesaria-busy="true". - State changes are announced: a polite live region (
role="status") says “Plan: error. We couldn’t process the payment.”, “Plan: validating.”, or “Plan: completed.” when the app changes the step’s class. The initial state isn’t announced. - As an indicator it has no Tab stops. When navigable, steps already reached and steps with an error are native links or buttons (one stop each, no roving), so you can go back to the furthest step; steps not reached yet are text. The current step keeps its trigger with
aria-disabled="true": focus isn’t lost when you choose it, it doesn’t activate, and if it’s a link, it doesn’t navigate. - Changing steps doesn’t move focus. The app moves it to the heading of the content it shows (with
tabindex="-1"), after checking that nothing canceled the change. - When the row doesn’t fit its container, the labels become
sr-only: they’re no longer visible but are still read, and the visible summary (“Step 2 of 4 · Plan”) isaria-hiddenbecause it repeats what the list says. While a trigger has focus, the summary says which step it leads to (“Go to: Plan”). If it still doesn’t fit, the steps becomesr-onlyand the summary and the step bar remain; the step that receives focus shows again. - The trigger is as tall as a small control (32 px; 28 px in compact density), above the 24 px WCAG 2.5.8 asks for. With
forced-colors: active, the current and completed steps paint withHighlight, the current one adds a separateHighlightoutline, a step with an error gets a 2 px border, and pending connectors useGrayText.
Verification
What was actually tested. Anything that wasn’t tested says so—we’d rather say “not verified” than claim too much.
- axe WCAG 2.2 A + AA in a real browser, in light and dark mode, before every release.
- keyboard Adds no keys of its own—it uses the browser’s native behavior.
- screen reader Not verified with a screen reader. Test it in your own combination of components, not just here, where each one appears alone and on its happy path.