DDBS UI
section

Staircase Steps

A dark panel, optionally over a photo, with a big heading and frosted step cards staggered down a staircase, each numbered with a title and description. Harvested from Good Life Meds.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/staircase-steps.json
Fullscreen

Follow a quick, guided process to receive personalized recommendations and your medication in just a few days.

How it works

[01]

Share your goals

Complete a quick guided intake so we understand what you want to achieve.

[02]

Get a review

A licensed professional reviews your intake and recommends a treatment.

[03]

Receive it fast

Your medication ships to your door, with refills handled automatically.

Usage

staircase-steps-example.tsx
import { StaircaseSteps } from "@dbs/ui";

const steps = [
  {
    number: "01",
    title: "Share your goals",
    description:
      "Complete a quick guided intake so we understand what you want to achieve.",
  },
  {
    number: "02",
    title: "Get a review",
    description:
      "A licensed professional reviews your intake and recommends a treatment.",
  },
  {
    number: "03",
    title: "Receive it fast",
    description:
      "Your medication ships to your door, with refills handled automatically.",
  },
];

export default function StaircaseStepsExample() {
  return (
    <StaircaseSteps
      image="/samples/steps-boxes.jpg"
      imageAlt="Stacked shipment boxes"
      intro="Follow a quick, guided process to receive personalized recommendations and your medication in just a few days."
      title="How it works"
      steps={steps}
    />
  );
}