---
order: 11
title:
zh-CN: 导航步骤
en-US: Navigation Steps
---
## zh-CN
导航类型的步骤条。
## en-US
Navigation steps.
```tsx
import React, { useState } from 'react';
import { Steps } from 'antd';
const { Step } = Steps;
const App: React.FC = () => {
const [current, setCurrent] = useState(0);
const onChange = (value: number) => {
console.log('onChange:', value);
setCurrent(value);
};
return (
<>
>
);
};
export default App;
```
```css
[data-theme='compact'] .site-navigation-steps,
.site-navigation-steps {
margin-bottom: 60px;
box-shadow: 0px -1px 0 0 #e8e8e8 inset;
}
```