Steps

Sequential instructions

1
Install the SDK
npm install acme-sdk
2
Initialize the client
import { Acme } from 'acme-sdk';
const acme = new Acme('sk_live_abc123');
3
Create a payment
const payment = await acme.payments.create({
  amount: 2500,
  currency: 'usd',
  customer_id: 'cus_abc123',
});
console.log(payment.status); // "succeeded"

Usage

<Steps>
  <Step title="First step">

    What to do.

</Step>
  <Step title="Second step">

    What to do next.

</Step>
</Steps>

Steps work well for setup guides, tutorials, and onboarding flows.