Automate Flows w/ Troy

Business/Sales Dashboard

Dashboards 1.5K

About

Track revenue from subscriptions, services, and add-ons alongside subscriber growth and churn in a responsive glass dashboard. Compare reporting periods, filter recent activity, review pending approvals, and export reports as CSV.

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

Code

How Business/Sales Dashboard is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import { useEffect, useState } from "react";
import GlassyDashboard from "@/components/ui/glassy-dashboard";

const settings = { workspaceName: "ATLAS", panelFrost: 12 };

function useWorkspaceTheme() {
  const [dark, setDark] = useState(false);
  useEffect(() => {
    const html = document.documentElement;
    const preferred = matchMedia("(prefers-color-scheme: dark)");
    const update = () => {
      if (html.classList.contains("dark") || html.dataset.theme === "dark") setDark(true);
      else if (html.classList.contains("light") || html.dataset.theme === "light") setDark(false);
      else setDark(preferred.matches);
    };
    const changes = new MutationObserver(update);
    changes.observe(html, { attributes: true, attributeFilter: ["class", "data-theme"] });
    preferred.addEventListener("change", update);
    update();
    return () => { changes.disconnect(); preferred.removeEventListener("change", update); };
  }, []);
  return dark;
}

export default function GlassyDashboardDemo(props: Partial< typeof settings> = {}) {
  const s = { ...settings, ...props };
  const dark = useWorkspaceTheme();
  return <>
    <style>{"#root .w-screen:has(.gd-app) { width: 100%; min-width: 0; }"}</style>
    <GlassyDashboard workspaceName={s.workspaceName} panelFrost={s.panelFrost}
      initialTheme={dark ? "dark" : "light"} />
  </>;
}

Dependencies

More by Automate Flows w/ Troy

View all
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.3K
  • Interactive Workflow Blueprint

    Interactive Workflow Blueprint

    710
  • Glassy Coverflow Carousel

    Glassy Coverflow Carousel

    454
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    442
  • Liquid Glass Footer

    Liquid Glass Footer

    286
  • Dimensional Workflow Hero

    Dimensional Workflow Hero

    209
  • KNOCKOUT Landing Page

    KNOCKOUT Landing Page

    194
  • Daytake Landing Page

    Daytake Landing Page

    157

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    736
  • Analytics Dashboard

    Analytics Dashboard

    80
  • Creator Dashboard

    Creator Dashboard

    215
  • Insights Dashboard

    Insights Dashboard

    43
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    419
  • 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

    64