flohoeller

Decision Inbox

Dashboards 15

About

A tray of pending yes/no decisions where each item has two quick-answer buttons, confirms the choice, and folds away as the open count goes down.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Decision Inbox to your project and fits it to your theme.

Code

How Decision Inbox is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { DecisionInbox, type Decision } from "@/components/ui/decision-inbox";

const decisions: Decision[] = [
  {
    id: "onboarding",
    title: "Roll out the new onboarding to everyone?",
    detail: "Test won with +8% activation · 2 weeks of data",
    primary: "Roll out",
    secondary: "Keep testing",
  },
  {
    id: "renewal",
    title: "Renew Figma for the design team?",
    detail: "12 seats · $1,800 per year · renews in 5 days",
    primary: "Renew",
    secondary: "Change seats",
  },
];

export default function DecisionInboxDemo() {
  return (
    <div className="flex w-full items-center justify-center bg-background p-8 text-foreground">
      <DecisionInbox
        decisions={decisions}
        onDecide={(d, answer) => console.log(d.id, answer)}
      />
    </div>
  );
}

More by flohoeller

View all
  • Profile Menu

    Profile Menu

    102
  • Side Folder

    Side Folder

    61
  • Tab Overload

    Tab Overload

    58
  • Filter Menu

    Filter Menu

    51
  • Agent Team

    Agent Team

    39
  • Team Invite

    Team Invite

    31
  • Comment Thread

    Comment Thread

    31
  • Enrichment Orbit

    Enrichment Orbit

    30

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    751
  • Analytics Dashboard

    Analytics Dashboard

    81
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    446
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    65