logoAnt Design

⌘ K
  • Design
  • Development
  • Components
  • Blog
  • Resources
6.0.0-alpha.1
  • Components Overview
  • General
    • Button
    • FloatButton
      5.0.0
    • Icon
    • Typography
  • Layout
    • Divider
    • Flex
      5.10.0
    • Grid
    • Layout
    • Masonry
      6.0.0
    • Space
    • Splitter
      5.21.0
  • Navigation
    • Anchor
    • Breadcrumb
    • Dropdown
    • Menu
    • Pagination
    • Steps
    • Tabs
  • Data Entry
    • AutoComplete
    • Cascader
    • Checkbox
    • ColorPicker
      5.5.0
    • DatePicker
    • Form
    • Input
    • InputNumber
    • Mentions
    • Radio
    • Rate
    • Select
    • Slider
    • Switch
    • TimePicker
    • Transfer
    • TreeSelect
    • Upload
  • Data Display
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Collapse
    • Descriptions
    • Empty
    • Image
    • List
      DEPRECATED
    • Popover
    • QRCode
      5.1.0
    • Segmented
    • Statistic
    • Table
    • Tag
    • Timeline
    • Tooltip
    • Tour
      5.0.0
    • Tree
  • Feedback
    • Alert
    • Drawer
    • Message
    • Modal
    • Notification
    • Popconfirm
    • Progress
    • Result
    • Skeleton
    • Spin
    • Watermark
      5.1.0
  • Other
    • Affix
    • App
      5.1.0
    • ConfigProvider
    • Util
When To Use
Examples
Basic
Error status
Vertical
Clickable
Panel Steps
With icon
Title Placement and Progress
Dot Style
Navigation Steps
Inline Steps
Inline Style Combination
API
Steps
StepItem
Semantic DOM
Steps
StepItem
Design Token

Steps

A navigation bar that guides users through the steps of a task.
Importimport { Steps } from "antd";
Sourcecomponents/steps
Docs
Edit this pageChangelog
contributors
  • PaginationTabs

    Resources

    Ant Design X
    Ant Design Charts
    Ant Design Pro
    Pro Components
    Ant Design Mobile
    Ant Design Mini
    Ant Design Web3
    Ant Design Landing-Landing Templates
    Scaffolds-Scaffold Market
    Umi-React Application Framework
    dumi-Component doc generator
    qiankun-Micro-Frontends Framework
    Ant Motion-Motion Solution
    China Mirror 🇨🇳

    Community

    Awesome Ant Design
    Medium
    X
    yuque logoAnt Design in YuQue
    Ant Design in Zhihu
    Experience Cloud Blog
    seeconf logoSEE Conf-Experience Tech Conference

    Help

    GitHub
    Change Log
    FAQ
    Bug Report
    Issues
    Discussions
    StackOverflow
    SegmentFault

    Ant XTech logoMore Products

    yuque logoYuQue-Document Collaboration Platform
    AntV logoAntV-Data Visualization
    Egg logoEgg-Enterprise Node.js Framework
    Kitchen logoKitchen-Sketch Toolkit
    Galacean logoGalacean-Interactive Graphics Solution
    xtech logoAnt Financial Experience Tech
    Theme Editor
    Made with ❤ by
    Ant Group and Ant Design Community
    loading

    When To Use

    When a given task is complicated or has a certain sequence in the series of subtasks, we can decompose it into several steps to make things easier.

    Examples

    API

    Common props ref:Common props

    Steps

    The whole of the step bar.

    PropertyDescriptionTypeDefaultVersion
    classNamesSemantic DOM classRecord<SemanticDOM, string>-
    currentTo set the current step, counting from 0. You can overwrite this state by using status of Stepnumber0
    directionTo specify the direction of the step bar, horizontal or verticalstringhorizontal
    iconRenderCustom render icon, please use items.icon first(oriNode, info: { index, active, item }) => ReactNode-
    initialSet the initial step, counting from 0number0
    labelPlacementPlace title and content with horizontal or vertical directionstringhorizontal
    orientationTo specify the orientation of the step bar, horizontal or verticalstringhorizontal
    percentProgress circle percentage of current step in process status (only works on basic Steps)number-4.5.0
    progressDotSteps with progress dot style, customize the progress dot by setting it to a function. titlePlacement will be verticalboolean | (iconDot, { index, status, title, content }) => ReactNodefalse
    responsiveChange to vertical direction when screen width smaller than 532pxbooleantrue
    sizeTo specify the size of the step bar, default and small are currently supportedstringdefault
    statusTo specify the status of current step, can be set to one of the following values: wait process finish errorstringprocess
    stylesSemantic DOM styleRecord<SemanticDOM, CSSProperties>-
    titlePlacementPlace title and content with horizontal or vertical directionstringhorizontal
    typeType of steps, can be set to one of the following values: default dot inline navigation panelstringdefault
    variantConfig style variantfilled | outlinedfilled
    onChangeTrigger when Step is changed(current) => void-
    itemsStepItem contentStepItem[]4.24.0

    StepItem

    A single step in the step bar.

    PropertyDescriptionTypeDefaultVersion
    contentDescription of the step, optional propertyReactNode-
    descriptionDescription of the step, optional propertyReactNode-
    disabledDisable clickbooleanfalse
    iconIcon of the step, optional propertyReactNode-
    statusTo specify the status. It will be automatically set by current of Steps if not configured. Optional values are: wait process finish errorstringwait
    subTitleSubtitle of the stepReactNode-
    titleTitle of the stepReactNode-

    Semantic DOM

    Steps

    StepItem

    Design Token

    Component TokenHow to use?
    Token NameDescriptionTypeDefault Value
    customIconFontSizeFont size of custom iconnumber24
    customIconSizeSize of custom icon containernumber32
    customIconTopTop of custom iconnumber0
    dotCurrentSizeCurrent size of dotnumber10
    dotSizeSize of dotnumber8
    iconFontSizeSize of iconnumber14
    iconSizeSize of icon containernumber32
    iconSizeSMSize of small steps iconnumber24
    iconTopTop of iconnumber-0.5
    navArrowColorColor of arrow in navstringrgba(0,0,0,0.25)
    navContentMaxWidthMax width of nav contentundefined | MaxWidth<string | number>unset
    Global TokenHow to use?
    Basic

    The most basic step bar. Use the variant property to set different styles and size to control the size.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Error status

    By using status of Steps, you can specify the state for current step.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Vertical

    A simple step bar in the vertical orientation.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Clickable

    Setting onChange makes Steps clickable.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Panel Steps

    Panel style steps.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    With icon

    You can use your own custom icons by setting the property icon for items.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Title Placement and Progress

    Use titlePlacement to set the label position and display the progress through percent.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Dot Style

    Steps with progress dot style.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Navigation Steps

    Navigation steps.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Inline Steps

    Inline type steps, suitable for displaying the process and current state of the object in the list content scene.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Inline Style Combination

    Inline step bar modifies the style and aligns through offset.

    CodeSandbox Icon
    Hitu Icon
    codepen icon
    External Link Icon
    Expand Icon
    Finished
    This is a content.
    2
    In Progress
    Left 00:00:08
    This is a content.
    3
    Waiting
    This is a content.
    Finished
    This is a content.
    2
    In Progress
    Left 00:00:08
    This is a content.
    3
    Waiting
    This is a content.
    Finished
    This is a content.
    2
    In Progress
    Left 00:00:08
    This is a content.
    3
    Waiting
    This is a content.
    Finished
    This is a content.
    2
    In Progress
    Left 00:00:08
    This is a content.
    3
    Waiting
    This is a content.
    Finished
    This is a content
    In Process
    This is a content
    3
    Waiting
    This is a content
    Finished
    This is a content.
    2
    In Progress
    This is a content.
    3
    Waiting
    This is a content.
    Finished
    This is a content.
    2
    In Progress
    This is a content.
    3
    Waiting
    This is a content.
    1
    Step 1
    This is a content.
    2
    Step 2
    This is a content.
    3
    Step 3
    This is a content.
    1
    Step 1
    This is a content.
    2
    Step 2
    This is a content.
    3
    Step 3
    This is a content.
    1
    Step 1
    00:00
    This is a content.
    Arrow
    Step 2
    This is a content.
    Arrow
    3
    Step 3
    This is a content.
    Arrow
    1
    Step 1
    00:00
    This is a content.
    Arrow
    Step 2
    This is a content.
    Arrow
    3
    Step 3
    This is a content.
    Arrow
    Login
    Verification
    Pay
    Done
    Finished
    This is a content.
    2
    In Progress
    This is a content.
    3
    Waiting
    This is a content.

    Finished
    This is a content.
    Progress2
    In Progress
    This is a content.
    3
    Waiting
    This is a content.

    Finished
    This is a content.
    Progress2
    In Progress
    This is a content.
    3
    Waiting
    This is a content.
    Finished
    This is a content.
    In Progress
    This is a content.
    Waiting
    This is a content.
    Finished
    This is a content.
    In Progress
    This is a content.
    Waiting
    This is a content.
    Finished
    This is a content.
    In Progress
    This is a content.
    Waiting
    This is a content.
    Finished
    This is a content.
    In Progress
    This is a content.
    Waiting
    This is a content.
    Step 1
    00:00:05
    This is a content.
    2
    Step 2
    00:01:02
    This is a content.
    3
    Step 3
    waiting for longlong time
    This is a content.
    Step 1
    2
    Step 2
    3
    Step 3
    4
    Step 4
    finish 1
    finish 2
    3
    current process
    4
    wait
    • Ant Design Title 1

      Ant Design, a design language for background applications, is refined by Ant UED Team
      Step 1
      This is Step 1
      Step 2
      This is Step 2
      Step 3
      This is Step 3
    • Ant Design Title 2

      Ant Design, a design language for background applications, is refined by Ant UED Team
      Step 1
      This is Step 1
      Step 2
      This is Step 2
      Step 3
      This is Step 3
    • Ant Design Title 3

      Ant Design, a design language for background applications, is refined by Ant UED Team
      Step 1
      This is Step 1
      Step 2
      This is Step 2
      Step 3
      This is Step 3
    • Ant Design Title 4

      Ant Design, a design language for background applications, is refined by Ant UED Team
      Step 1
      This is Step 1
      Step 2
      This is Step 2
      Step 3
      This is Step 3
    Step 1
    Sub Title
    This is Step 1
    Step 2
    Sub Title
    This is Step 2
    Step 3
    Sub Title
    This is Step 3
    Step 4
    Sub Title
    This is Step 4
    Step 5
    Sub Title
    This is Step 5
    Step 1
    Sub Title
    This is Step 1
    Step 2
    Sub Title
    This is Step 2
    Step 3
    Sub Title
    This is Step 3
    Step 4
    Sub Title
    This is Step 4
    Step 5
    Sub Title
    This is Step 5
    Step 3
    Sub Title
    This is Step 3
    Step 4
    Sub Title
    This is Step 4
    Step 5
    Sub Title
    This is Step 5
    Step 1
    00:00
    This is a content.
    2
    Step 2
    00:01
    This is a content.
    3
    Step 3
    00:02
    This is a content.
    Step 1
    00:00
    This is a content.
    Arrow
    2
    Step 2
    00:01
    This is a content.
    Arrow
    3
    Step 3
    00:02
    This is a content.
    Arrow
    • root
      Root element
    • item
      Step item element
    • itemWrapper
      Step item wrapper element
    • itemIcon
      Step item icon element
    • itemHeader
      Step item header element
    • itemTitle
      Step item title element
    • itemSubtitle
      Step item subtitle element
    • itemSection
      Step item section element
    • itemContent
      Step item content element
    • itemRail
      Step item rail element
    Step 1
    00:00
    This is a content.
    2
    Step 2
    00:01
    This is a content.
    3
    Step 3
    00:02
    This is a content.
    Step 1
    00:00
    This is a content.
    Arrow
    2
    Step 2
    00:01
    This is a content.
    Arrow
    3
    Step 3
    00:02
    This is a content.
    Arrow
    • root
      Root element
    • wrapper
      Step item wrapper element
    • icon
      Step item icon element
    • header
      Step item header element
    • title
      Step item title element
    • subtitle
      Step item subtitle element
    • section
      Step item section element
    • content
      Step item content element
    • rail
      Step item rail element