Automate Flows w/ Troy

Glassy Dashboard

Dashboards 18

About

A responsive glass dashboard for exploring revenue, traffic, and operations. Switch between four ATLAS workspace views to compare reporting periods, inspect animated charts, review sample workflows, and export CSV reports in light or dark mode.

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

Code

How Glassy 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

    1K
  • Interactive Workflow Blueprint

    Interactive Workflow Blueprint

    423
  • Glassy Coverflow Carousel

    Glassy Coverflow Carousel

    342
  • Liquid Glass Wordmark Footer

    Liquid Glass Wordmark Footer

    172
  • Dimensional Workflow Hero

    Dimensional Workflow Hero

    140
  • Daytake Landing Page

    Daytake Landing Page

    57
  • KNOCKOUT Landing Page

    KNOCKOUT Landing Page

    20
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    15

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Sidebar

    Sidebar

    388
  • Stat Card

    Stat Card

    35
  • Fitness Bento Grid

    Fitness Bento Grid

    35
  • Stats Bento

    Stats Bento

    1.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Course Design Cards

    Course Design Cards

    1.3K
  • Financial Bento Grid

    Financial Bento Grid

    125