コンテンツへスキップ
Fumadocs

Steps

ドキュメントにステップを追加する

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 customization & control.

npx @fumadocs/cli@latest add steps

使い方

各ステップを Steps コンテナの中に配置します。

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

<Steps>
<Step>

### Hello World

</Step>

<Step>

### Hello World

</Step>
</Steps>

インポートせずに使用する

Tailwind CSS のユーティリティは、インポートしなくても使用できます。

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

任意のバリアント (arbitrary variants) を使用すると、見出しにのみステップのスタイルを適用できます。

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

### Hello World

</div>

Hello World

<Step /> コンポーネントを使わずにレンダリングしています。

How is this guide?

最終更新日