CSC Design System next
VueFlavour Vue React Angular TypeScript PrimaryCSC UI ColorsPrimarySecondaryAccentCustom ColorsRedOrangeGreenBluePurplePink
Guides Getting started Customization Data visualization Migration guide Componentsc-accordionc-alertc-autocompletec-badgec-buttonc-button-groupc-cardc-checkboxc-csc-logoc-data-tablec-dividerc-iconc-icon-buttonc-inputc-linkc-listc-loaderc-login-buttonsc-login-cardc-mainc-menuc-messagec-modalc-navigation-buttonc-otp-inputc-pagec-paginationc-popoverc-progress-barc-progress-circlec-radio-groupc-selectc-side-navigationc-sliderc-spinnerc-statusc-stepsc-switchc-tablec-tabsc-tagsc-text-fieldc-toastsc-toolbarc-tooltip

<c-steps>

Examples

Basic
Vue React Angular TypeScript
<template>
  <div>
    <c-steps v-model="step">
      <c-step>Choose resources</c-step>

      <c-step>Billing details</c-step>

      <c-step>Review</c-step>

      <c-step>Confirmation</c-step>
    </c-steps>

    <div class="example-row">
      <c-button outlined :disabled.prop="step === 1" @click="step--">
        Previous
      </c-button>

      <c-button :disabled.prop="step === 5" @click="step++">Next</c-button>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const step = ref(1);
</script>
Basic · c-step
Vue React Angular TypeScript
<template>
  <div>
    <c-steps value="3">
      <c-step>Choose resources</c-step>

      <c-step>Billing details</c-step>

      <c-step>Review</c-step>

      <c-step>Confirmation</c-step>
    </c-steps>
  </div>
</template>

API reference

<c-steps>

Properties

PropertyAttributeTypeDefaultDescription
valuevaluenumber | string1Value of the accordion (current step number)

Slots

SlotDescription
defaultDefault slot

CSS parts

Style from outside with c-steps::part(name) — parts are the library's only styling customization API.

PartDescription
rootThe flex row laying out the projected c-step children and their dividers
labelThe current step's label shown below the row in the collapsed (mobile) layout

<c-step>

Properties

PropertyAttributeTypeDefaultDescription
completecompletebooleanfalseMark step as complete
currentcurrentbooleanfalseMark step as current

Slots

SlotDescription
defaultDefault slot for the label

CSS parts

Style from outside with c-step::part(name) — parts are the library's only styling customization API.

PartDescription
rootThe step's grid container holding the indicator and the label
indicatorWrapper around the state indicator (incomplete dot or completed check)
dotThe circular indicator shown while the step is incomplete
completeThe filled circle with the check mark shown when the step is complete
labelWrapper around the slotted label text