> ## Documentation Index
> Fetch the complete documentation index at: https://docs.twenty.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 步骤条

<Frame>
  <img src="https://mintcdn.com/twenty/JIRRbviz5phT8G2L/images/user-guide/api/api.png?fit=max&auto=format&n=JIRRbviz5phT8G2L&q=85&s=ee5516c73ff3a67329a76b0cab916d3c" alt="标题" width="1440" height="680" data-path="images/user-guide/api/api.png" />
</Frame>

通过突出显示活动步骤来显示一系列编号步骤的进度。 它呈现一个包含步骤的容器，每个步骤由 `Step` 组件表示。

<Tabs>
  <Tab title="**用法**">
    ```jsx theme={null}
    import { StepBar } from "@/ui/navigation/step-bar/components/StepBar";

    export const MyComponent = () => {
      return (
        <StepBar activeStep={2}>
          <StepBar.Step>Step 1</StepBar.Step>
          <StepBar.Step>Step 2</StepBar.Step>
          <StepBar.Step>Step 3</StepBar.Step>
        </StepBar>
      );
    };
    ```
  </Tab>

  <Tab title="属性">
    | 属性         | 类型 | 描述                        |
    | ---------- | -- | ------------------------- |
    | activeStep | 数字 | 当前活动步骤的索引。 这决定了应突出显示哪个步骤。 |
  </Tab>
</Tabs>
