If-Then Branch

Conditional branch card with a dashed condition row and side-by-side true and false outcome cards labeled with emerald and rose pills.

ifamount > $100
trueNotify finance2 actions
falseSkipno actions

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Automation5 } from "@/components/beste/piece/automation5";

<Automation5
  condition="amount > $100"
  truthy={{
    "label": "Notify finance",
    "steps": "2 actions"
  }}
  falsy={{
    "label": "Skip",
    "steps": "no actions"
  }}
  ifLabel="if"
  trueLabel="true"
  falseLabel="false"
/>