Building Blocks with spartan/ui
Clean, modern building blocks for your Angular applications.


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


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


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


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


Control horizontal layout with labelPosition and headerPosition .


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


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


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


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

