Skip to content

Steps

Steps

Navigation component for showing progress through a multi-step process or wizard.

Import

import { StepsComponent } from '@primitivekit/angular';

Basic Usage

<pk-steps>Content</pk-steps>

Props

No props available.

Customization

The Steps component supports CSS variables for complete customization:

<pk-steps [style]="{
  '--steps-bg-color': '#007bff',
  '--steps-text-color': '#ffffff'
}">Custom</pk-steps>

Design Tokens

The following design tokens are available for customization:

  • --steps-gap
  • --horizontal
  • --vertical
  • --steps-transition-duration
  • --disabled
  • --steps-icon-size
  • --steps-icon-border-radius
  • --steps-icon-border-width
  • --steps-icon-font-size
  • --wait
  • … and 22 more

Accessibility

The Steps component is fully accessible and follows WCAG 2.1 AA standards:

  • ✅ Semantic HTML elements
  • ✅ Keyboard accessible
  • ✅ Focus visible indicator
  • ✅ Proper ARIA attributes
  • ✅ Screen reader compatible
  • ✅ Touch target size (44x44px minimum)
  • ✅ Color contrast compliance

Keyboard Navigation

KeyAction
TabMove focus to/from component
EnterActivate component
SpaceActivate component

Related Components

  • Link - Navigation component for creating accessible hyperlinks with various styles.
  • Breadcrumb - Navigation component for showing the current page location in a hierarchical structure.
  • Tabs - Navigation component for organizing content into multiple panels with tab selection.
  • Menu - Navigation component for displaying a list of actions or navigation links.
  • Pagination - Navigation component for splitting content across multiple pages with page controls.

See Also