Building Blocks with spartan/ui

Clean, modern building blocks for your Angular applications.

SidebarLoginSignupCalendarStepperstepper-basicstepper-basic

Set orientation="vertical" when content is dense or horizontal space is limited.

stepper-verticalstepper-vertical

Drive orientation from a BreakpointObserver to switch layout based on the viewport. Resize the preview to see it change.

stepper-responsivestepper-responsive

With linear enabled, the current step must be valid before advancing.

stepper-linearstepper-linear

Use spartanStepContent to attach a step's body lazily, keeping the initial render lighter.

stepper-lazy-contentstepper-lazy-content

Control horizontal layout with labelPosition and headerPosition .

stepper-layoutstepper-layout

Toggle animations and transition duration per instance with animationsEnabled and animationDuration , or set defaults globally with provideHlmStepperConfig .

stepper-animationsstepper-animations

Switch the indicator with indicatorMode between number , state , and icon .

stepper-indicatorsstepper-indicators

Enable showError through STEPPER_GLOBAL_OPTIONS to surface a step's error message in its header.

stepper-errorstepper-error

The stepper mirrors automatically under a right-to-left dir . Switch the docs language to a RTL locale to preview it.

stepper-rtlstepper-rtl