步驟
在文檔中添加步驟
Buy Coffee
Some text here
Go to Office Some text here
Some text here
Have a meeting Some text here
Some text here
使用方法
將您的步驟放入 Steps 容器中。
import { Step, Steps } from 'fumadocs-ui/components/steps';
<Steps>
<Step>
### 你好世界
</Step>
<Step>
### 你好世界
</Step>
</Steps>我們建議在 Tailwind CSS 項目中直接使用 Tailwind CSS 實用類。
不使用導入
您可以在不導入的情況下使用 Tailwind CSS 實用工具。
<div className="fd-steps">
<div className="fd-step" />
</div>它支持僅對帶有任意變體的標題添加步驟樣式。
<div className='fd-steps [&_h3]:fd-step'>
### 你好世界
</div>你好世界
您不再需要使用步驟組件了。
MkSaaS文檔