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 '@getufy/flint-ui'; // auto-registers all
// or
import { FlintStepConnector } from '@getufy/flint-ui';

Usage ​

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

Properties ​

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

CSS Parts ​

NameDescription
lineThe connector line element.

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> ​

Step Label: the label for a step.

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

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintStepLabel } from '@getufy/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)Label text.
optionalOptional step text.

CSS Parts ​

NameDescription
labelThe label element.
optionalThe optional element.

<flint-step-content> ​

Step Content: the collapsible content area for a step.

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

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintStepContent } from '@getufy/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)Step content.

CSS Parts ​

NameDescription
baseThe component's base wrapper element.
contentThe content container.

<flint-step> ​

Step: an individual step within a stepper.

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

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintStep } from '@getufy/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.
orientationorientationOrientation'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.

Events ​

EventDetailDescription
flint-step-click&#123; step: number &#125;Fired when a non-linear step is clicked. detail: &#123; step: number &#125;

Slots ​

NameDescription
iconCustom step icon.
labelCustom label content.
(default)Step content.

CSS Parts ​

NameDescription
indicatorThe step icon/number indicator.

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 '@getufy/flint-ui'; // auto-registers all
// or
import { FlintStepper } from '@getufy/flint-ui';

Usage ​

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

Properties ​

PropertyAttributeTypeDefaultDescription
activeStepactive-stepnumber0Zero-based index of the currently active step.
defaultActiveStepdefault-active-stepnumber | undefined—Initial active step for uncontrolled usage.
orientationorientationOrientation'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&#123; step: number &#125;Fired when the active step changes via step click. detail: &#123; step: number &#125;

CSS Parts ​

NameDescription
baseThe component's base wrapper element.

CSS Custom Properties ​

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

<flint-mobile-stepper> ​

Mobile Stepper: a compact stepper for mobile layouts.

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

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintMobileStepper } from '@getufy/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 | undefined—Label text for the Back navigation button. Defaults to localized "Back".
nextLabelnext-labelstring | undefined—Label text for the Next navigation button. Defaults to localized "Next".

Events ​

EventDetailDescription
flint-mobile-step-back—Fired when the back button is clicked.
flint-mobile-step-next—Fired when the next button is clicked.

Slots ​

NameDescription
back-buttonBack navigation button.
next-buttonNext navigation button.

CSS Parts ​

NameDescription
back-buttonThe back button element.
next-buttonThe next button element.
progressThe progress indicator.