BridgeBeta
  • Brand
  • Digital Assets
    Foundations
    Icons
    Components
    Templates
  • Resources
    Design Tokens
    How-tos
    Best Practices
    Libraries
    Accessibility
    Products List
  • Support
    • Overview
    • Actions
      • Overview
      • Button
      • ContextMenu
      • Link
    • Controls
      • Overview
      • Checkbox
      • Tag
      • Toggle
    • Forms
      • Overview
      • DatePicker
      • FileUploader
      • Input
      • NumberInput
      • RadioButton
      • Search
      • Select
      • Slider
      • TextArea
      • TextInput
    • Hooks
      • useIsomorphicLayoutEffect
      • useMediaQuery
      • useSettings
    • Navigation
      • Overview
      • AnchorNavigation
      • BannerNavigation
      • Breadcrumb
      • Footer
      • InfoBar
      • MainNavigation
      • SecondaryNavigation
      • StepNavigation
      • SubNavigation
    • Overlay
      • Overview
      • Credits
      • Modal
      • ModalWrapper
      • Notification
      • Tooltip
    • Structure
      • Overview
      • Accordion
      • AuthLayout
      • Avatar
      • Callout
      • Card
      • ContentSwitcher
      • Empty
      • Hero
      • InlineLoading
      • Item
      • List
      • Loading
      • mdxComponents
      • Module
      • Pagination
      • ReadMore
      • Story
      • Table
      • Tabs
      • Text
      • Unit
      • User
      • WFPCoreProvider
      • Wrapper
Components
Navigation
StepNavigation

StepNavigation

  • Design
  • Code
  • Props

Import statement

import { StepNavigation, StepNavigationItem } from "@wfp/react"

Usage

Expand code

Editable Example

import {
  StepNavigation,
  StepNavigationItem,
} from "@wfp/react";

<StepNavigation selectedStep={1}>
  <StepNavigationItem
    label="1. Done step"
    helperText="Helper text"
    page={0}
  />
  <StepNavigationItem
    label="2. Current step"
    page={1}
    helperText="Helper text"
  />
  <StepNavigationItem
    label="3. Upcoming step"
    helperText="Helper text"
    page={2}
  />
  <StepNavigationItem
    label="4. Warning step"
    page={2}
    status="warning"
    helperText="Warning message"
  />
  <StepNavigationItem
    label="5. Error step"
    page={2}
    status="error"
    helperText="Error message"
  />
  <StepNavigationItem
    label="6. In progress"
    page={3}
    status="in-progress"
    helperText="Helper text"
  />
</StepNavigation>;

Vertical Example

Expand code

Editable Example

import {
  StepNavigation,
  StepNavigationItem,
} from "@wfp/react";

<StepNavigation selectedStep={1} vertical>
  <StepNavigationItem
    label="1. Done step"
    helperText="Helper text"
    page={0}
  />
  <StepNavigationItem
    label="2. Current step"
    page={1}
    helperText="Helper text"
  />
  <StepNavigationItem
    label="3. Upcoming step"
    helperText="Helper text"
    page={2}
  />
  <StepNavigationItem
    label="4. Warning step"
    page={3}
    status="warning"
    helperText="Warning message"
  />
  <StepNavigationItem
    label="5. Error step"
    page={4}
    status="error"
    helperText="Error message"
  />
  <StepNavigationItem
    label="6. In progress step"
    page={5}
    status="in-progress"
    helperText="Helper text"
  />
</StepNavigation>;

On this page

  • Usage
  • Vertical Example

References

  • Storybook
Storybook
Figma library
Contact us
2025 © World Food Programme