Skip to content

Stepper ​

Horizontal step indicator with terminal style. Shows progress with [1]──[2]──[3] format.

Stepper

Design lines ​

[1] Account[2] Profile[3] Billing[4] Confirm
vue
1<Tabs defaultValue="tuix">2  <TabsList>3    <Tab value="tuix">TUIX</Tab>4    <Tab value="rubik">Rubik</Tab>5  </TabsList>6  <TabPanel value="tuix">7    <Stepper8      :steps="[9        { label: 'Account' },10        { label: 'Profile' },11        { label: 'Billing' },12        { label: 'Confirm' },13      ]"14      :current="2"15      color="primary"16      design="tuix"17    />18  </TabPanel>19  <TabPanel value="rubik">20    <Stepper21      :steps="[22        { label: 'Account' },23        { label: 'Profile' },24        { label: 'Billing' },25        { label: 'Confirm' },26      ]"27      :current="2"28      color="primary"29      design="rubik"30    />31  </TabPanel>32</Tabs>

Demo ​

Current step (current) ​

Controla qué paso está activo (1-based).

[1] Account[2] Profile[3] Billing[4] Confirm
[1] Account[2] Profile[3] Billing[4] Confirm
[1] Account[2] Profile[3] Billing[4] Confirm
[1] Account[2] Profile[3] Billing[4] Confirm
vue
1<Stepper :current="1" :steps="steps" />2<Stepper :current="2" :steps="steps" />3<Stepper :current="3" :steps="steps" />4<Stepper :current="4" :steps="steps" />

Active step color (color) ​

Color del marcador del paso actual.

[1] A[2] B[3] C
[1] A[2] B[3] C
[1] A[2] B[3] C
[1] A[2] B[3] C
vue
1<Stepper color="primary" :current="2" :steps="[{ label: 'A' }, { label: 'B' }, { label: 'C' }]" />2<Stepper color="success" :current="2" :steps="[{ label: 'A' }, { label: 'B' }, { label: 'C' }]" />3<Stepper color="warning" :current="2" :steps="[{ label: 'A' }, { label: 'B' }, { label: 'C' }]" />4<Stepper color="danger" :current="2" :steps="[{ label: 'A' }, { label: 'B' }, { label: 'C' }]" />

Variable number of steps ​

El layout se adapta de 2 a N pasos.

[1] Welcome[2] Done
[1] Login[2] Config[3] Done
[1] Lint[2] Test[3] Build[4] Deploy
[1] A[2] B[3] C[4] D[5] E
vue
1<Stepper :current="1" :steps="[{ label: 'Welcome' }, { label: 'Done' }]" />2<Stepper :current="2" :steps="[{ label: 'Login' }, { label: 'Config' }, { label: 'Done' }]" />3<Stepper :current="3" :steps="[{ label: 'Lint' }, { label: 'Test' }, { label: 'Build' }, { label: 'Deploy' }]" />4<Stepper :current="2" :steps="[{ label: 'A' }, { label: 'B' }, { label: 'C' }, { label: 'D' }, { label: 'E' }]" />

Props ​

steps ​

List of steps.

TypeDefaultRequired
Array<{label: string}>[]✅

Each step has this shape:

FieldTypeRequiredDescription
labelstring✅Step text

current ​

Current step (1-based). Determines which step is active.

TypeDefaultRequired
number1❌

color ​

Color of the active step.

TypeDefaultRequired
'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark''primary'❌

design ​

Design line (or inherit from data-design).

TypeDefaultRequired
'tuix' | 'rubik'— (inherits from data-design)❌

CSS Custom Properties ​

TokenDefaultDescription
--font-mono"JetBrains Mono", ui-monospace, monospaceMonospace font stack for code-like content (key labels, log lines, chips).
--accentfrom theme (--ctp-latte-mauve / --ctp-mocha-mauve)Accent color, mapped from the active semantic color.
--bgfrom theme (--ctp-latte-base / --ctp-mocha-base)Base background of the surface.
--borderfrom theme (--ctp-latte-surface0 / --ctp-mocha-surface0)Outline and divider color for surfaces.
--textfrom theme (--ctp-latte-text / --ctp-mocha-text)Primary text color used inside the component.
--text-mutedfrom theme (--ctp-latte-subtext1 / --ctp-mocha-subtext1)Secondary text for hints, annotations and disabled state.
--color-primaryfrom theme (--ctp-latte-mauve / --ctp-mocha-mauve)Primary semantic color (mauve in Catppuccin).
--color-secondaryfrom theme (--ctp-latte-lavender / --ctp-mocha-lavender)Secondary semantic color (lavender in Catppuccin).
--color-tertiaryfrom theme (--ctp-latte-blue / --ctp-mocha-blue)Tertiary semantic color (blue in Catppuccin).
--color-successfrom theme (--ctp-latte-green / --ctp-mocha-green)Success semantic color (green in Catppuccin).
--color-warningfrom theme (--ctp-latte-yellow / --ctp-mocha-yellow)Warning semantic color (yellow in Catppuccin).
--color-dangerfrom theme (--ctp-latte-red / --ctp-mocha-red)Danger semantic color (red in Catppuccin).
--color-lightfrom theme (--ctp-latte-surface1 / --ctp-mocha-rosewater)Light semantic color (lighter contrast tone).
--color-mediumfrom theme (--ctp-latte-overlay0 / --ctp-mocha-overlay2)Medium semantic color (mid-tone).
--color-darkfrom theme (--ctp-latte-text / --ctp-mocha-subtext1)Dark semantic color (high contrast text).

Ver Theming para la convención completa.