Fumadocs

步骤

向文档添加步骤

Buy Coffee

Some text here

Go to Office Some text here

Some text here

Have a meeting Some text here

Some text here

Install to your codebase

Easier customisation & control.

使用方法

将您的步骤放入 Steps 容器中。

import { Step, Steps } from 'fumadocs-ui/components/steps';

<Steps>
<Step>

### Hello World

</Step>

<Step>

### Hello World

</Step>
</Steps>

我们推荐在 Tailwind CSS 项目中直接使用 Tailwind CSS 实用类。

无需导入

您可以无需导入 Tailwind CSS 实用类。

<div className="fd-steps">
  <div className="fd-step" />
</div>

它支持使用任意变体仅向标题添加步骤样式。

<div className='fd-steps [&_h3]:fd-step'>

### Hello World

</div>

你好世界

您不再需要使用步骤组件。

How is this guide?

Last updated on