--- order: 11 title: zh-CN: 导航步骤 en-US: Navigation Steps --- ## zh-CN 导航类型的步骤条。 ## en-US Navigation steps. ```tsx import { Steps } from 'antd'; import React, { useState } from 'react'; 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.ant-steps.ant-steps-navigation, .site-navigation-steps.ant-steps.ant-steps-navigation { margin-bottom: 60px; box-shadow: 0px -1px 0 0 #e8e8e8 inset; } ```