HORON

Plan Step

실행 계획의 한 단계를 레일 위에 표시합니다.

@horon-ai/react 에이전트 Storybook ↗

Preview

Pull Q3 revenue and ARR

1.3s
Monthly revenue, ARR and net retentionstripe.query

Build the metrics slide

0.4s
Chart revenue against planslides.update
3

Send the draft to Maya for review

Draft for review in Gmailgmail.draft

Usage

tsx
import { PlanStep } from "@horon-ai/react";

export default function PlanStepDemo() {
  return (
    <div className="flex w-full max-w-140 flex-col">
      <PlanStep
        status="done"
        index={1}
        title="Pull Q3 revenue and ARR"
        description="Monthly revenue, ARR and net retention"
        tool="stripe.query"
        elapsed="1.3s"
      />
      <PlanStep
        status="running"
        index={2}
        title="Build the metrics slide"
        description="Chart revenue against plan"
        tool="slides.update"
        elapsed="0.4s"
      />
      <PlanStep
        status="pending"
        index={3}
        title="Send the draft to Maya for review"
        description="Draft for review in Gmail"
        tool="gmail.draft"
        last
      />
    </div>
  );
}