Skip to content

Stepper ​

Step 2 of 3

Loading...

All Complete

Loading...

Vertical

Loading...

<flint-step-connector> ​

  • Tag: <flint-step-connector>
  • Class: FlintStepConnector

Import ​

ts
import 'flint-ui'; // auto-registers all
// or
import { FlintStepConnector } from 'flint-ui';

Usage ​

html
<flint-step-connector></flint-step-connector>

Properties ​

PropertyAttributeTypeDefaultDescription
orientationorientation'horizontal' | 'vertical''horizontal'Layout direction of the connector line.
completedcompletedbooleanfalseWhether the connector represents a completed step transition.

CSS Custom Properties ​

PropertyDefault
--flint-surface-1—
--flint-font-family—
--flint-border-color—
--flint-text-color-muted—
--flint-input-border-color—
--flint-primary-color—
--flint-text-color—
--flint-text-color-on-primary—
--flint-error-color—
--flint-primary-focus-ring—

<flint-step-label> ​

  • Tag: <flint-step-label>
  • Class: FlintStepLabel

Import ​

ts
import 'flint-ui'; // auto-registers all
// or
import { FlintStepLabel } from 'flint-ui';

Usage ​

html
<flint-step-label></flint-step-label>

Properties ​

PropertyAttributeTypeDefaultDescription
activeactivebooleanfalseWhether the label's step is currently active.
disableddisabledbooleanfalseWhether the label's step is disabled.
errorerrorbooleanfalseWhether the label's step is in an error state.

Slots ​

NameDescription
(default)Default slot for content
optional

<flint-step-content> ​

  • Tag: <flint-step-content>
  • Class: FlintStepContent

Import ​

ts
import 'flint-ui'; // auto-registers all
// or
import { FlintStepContent } from 'flint-ui';

Usage ​

html
<flint-step-content></flint-step-content>

Properties ​

PropertyAttributeTypeDefaultDescription
openopenbooleantrueWhether the content is visible. Defaults true so standalone usage always shows.

Slots ​

NameDescription
(default)Default slot for content

<flint-step> ​

Step: an individual step within a stepper.

  • Tag: <flint-step>
  • Class: FlintStep

Import ​

ts
import 'flint-ui'; // auto-registers all
// or
import { FlintStep } from 'flint-ui';

Usage ​

html
<flint-step></flint-step>

Properties ​

PropertyAttributeTypeDefaultDescription
activeactivebooleanfalseWhether this step is the currently active step.
completedcompletedbooleanfalseWhether this step has been completed.
disableddisabledbooleanfalseWhether this step is disabled and non-interactive.
optionaloptionalbooleanfalseWhether this step is optional.
errorerrorbooleanfalseWhether this step is in an error state.
lastlastbooleanfalseWhether this is the last step in the stepper.
clickableclickablebooleanfalseWhether this step can be clicked to navigate to it.
orientationorientation'horizontal' | 'vertical''horizontal'Layout direction of the step.
alternativeLabelalternative-labelbooleanfalseWhether to display the label below the step icon instead of beside it.
stepIndexstep-indexnumber0Zero-based index of this step within the stepper.
optionalLabeloptional-labelstring'Optional'Text shown below the label when the step is optional.
prevCompletedprev-completedbooleanfalseSet by FlintStepper — true when the immediately preceding step is completed. Controls whether the leading connector is rendered in the primary colour.

Events ​

EventDetailDescription
flint-step-click—Fired when a non-linear step is clicked.

Slots ​

NameDescription
(default)Default slot for content
icon
label

CSS Custom Properties ​

PropertyDefault
--flint-stepper-connector-color—
--flint-stepper-icon-size32px

<flint-stepper> ​

Stepper: a multi-step progress indicator.

  • Tag: <flint-stepper>
  • Class: FlintStepper

Import ​

ts
import 'flint-ui'; // auto-registers all
// or
import { FlintStepper } from 'flint-ui';

Usage ​

html
<flint-stepper></flint-stepper>

Properties ​

PropertyAttributeTypeDefaultDescription
activeStepactive-stepnumber0Zero-based index of the currently active step.
orientationorientation'horizontal' | 'vertical''horizontal'Layout direction of the stepper.
alternativeLabelalternative-labelbooleanfalseWhether to display step labels below the icons instead of beside them.
nonLinearnon-linearbooleanfalseWhether steps can be navigated in any order (enables clickable steps).
labellabelstring'steps'Accessible label for the stepper landmark (maps to aria-label on the list element).

Events ​

EventDetailDescription
flint-step-change—Fired when the active step changes via step click.

Slots ​

NameDescription
(default)Default slot for content

CSS Custom Properties ​

PropertyDefault
--flint-stepper-connector-color—
--flint-stepper-icon-size32px

<flint-mobile-stepper> ​

  • Tag: <flint-mobile-stepper>
  • Class: FlintMobileStepper

Import ​

ts
import 'flint-ui'; // auto-registers all
// or
import { FlintMobileStepper } from 'flint-ui';

Usage ​

html
<flint-mobile-stepper></flint-mobile-stepper>

Properties ​

PropertyAttributeTypeDefaultDescription
stepsstepsnumber0Total number of steps.
activeStepactive-stepnumber0Zero-based index of the currently active step.
variantvariant'text' | 'dots' | 'progress''dots'Progress indicator style: text counter, dot indicators, or a progress bar.
positionposition'top' | 'bottom' | 'static''static'Positioning of the mobile stepper within its container.
backLabelback-labelstring'Back'Label text for the Back navigation button (supports i18n).
nextLabelnext-labelstring'Next'Label text for the Next navigation button (supports i18n).

Slots ​

NameDescription
back-button
next-button