Angular Stepper Component | ng-hub-ui-stepper

Angular stepper component with validation, orientation modes, custom controls, i18n and CSS-variable theming.

API reference

Here's the full contract for stepper: everything you can bind, listen to, project and theme, gathered in one place. Wire up what you need and style what you want — it's standalone and signal-friendly.

Inputs

Dial stepper in with 6 inputs. Bind them like any Angular @Input.

NameTypeDefaultDescription
options (hub-stepper)StepperOptions{}Stepper configuration object: `layout` (`vertical` | `sidebar`) and `rtl` (boolean).
backLabel (hub-stepper)string | nullnullOverrides the "Back" control label. Falls back to the built-in i18n label when null.
continueLabel (hub-stepper)string | nullnullOverrides the "Continue" control label.
submitLabel (hub-stepper)string | nullnullOverrides the final-step "Submit" control label.
title (hub-step)stringThe step title shown in the stepper navigation.
disabled (hub-step)booleanfalseDisables navigation to this step.

Outputs

React to what stepper does — 3 events to hook your logic onto.

NameTypeDescription
completed (hub-stepper)EventEmitter<void>Emitted when the user submits the final step.
nextStep (hub-stepper)EventEmitter<number>Emitted when advancing to a step, with the new step index.
previousStep (hub-stepper)EventEmitter<number>Emitted when going back to a step, with the new step index.

Templates

No templates documented yet.

CSS variables

Theme every pixel with 14 CSS variables. Override them at :root or scope them to a wrapper.

Stepper theme

Runtime theming tokens for the stepper surface, navigation and controls. Override at `:root` or scope them to a wrapper.

VariableDefaultTypeDescription
--hub-stepper-primary-color#009ef7color Primary accent (active state, progress).
--hub-stepper-background-color#f3f6f9color Back-button / secondary surface background.
--hub-stepper-text-color#181c32color Base text color.
--hub-stepper-border-color#d8dde6color Border color of the stepper surface.
--hub-stepper-surface-color#ffffffcolor Step content background.
--hub-stepper-nav-link-color#495057color Navigation step label color.
--hub-stepper-nav-link-active-bg#0d6efdcolor Active step indicator background.
--hub-stepper-nav-link-active-color#ffffffcolor Active step indicator text color.
--hub-stepper-nav-link-disabled-color#adb5bdcolor Disabled step label color.
--hub-stepper-gap1remlength Gap between stepper layout regions.
--hub-stepper-controls-gap0.5remlength Gap between the navigation controls.
--hub-stepper-disabled-opacity0.5number Opacity applied to disabled steps.
--hub-stepper-sidebar-widthclamp(160px, 20vw, 240px)length Sidebar width in the `sidebar` layout.
--hub-stepper-animation-duration260mstransition Step transition duration.

Styling and theming

No styling examples are documented yet. This section will include customization recipes and theming examples.