Code And Chill

Kestrel — Marketing Analytics Dashboard

Dashboards 44

About

Clickable marketing dashboard: realtime KPIs and trends, paid ads, data sources, lead table and live Settings with accents and density. Full Kestrel app: codeandchill.store/templates/kestrel?utm_source=21st

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

Code

How Kestrel — Marketing Analytics Dashboard is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { useEffect, useState } from "react";
import KestrelDashboard from "@/components/ui/kestrel-marketing-dashboard";

const settings = {
  accent: "#1d62de",
  workspace: "Kestrel Studio",
  userName: "Maya Lind",
  live: true,
};

/** Kestrel opens light, then follows the page's `dark` class only when it changes. */
function usePageDark() {
  const [dark, setDark] = useState(false);
  useEffect(() => {
    const html = document.documentElement;
    let was = html.classList.contains("dark");
    const mo = new MutationObserver(() => {
      const now = html.classList.contains("dark");
      if (now !== was) setDark(now);
      was = now;
    });
    mo.observe(html, { attributes: true, attributeFilter: ["class"] });
    return () => mo.disconnect();
  }, []);
  return dark;
}

export default function Demo(props: Partial<typeof settings> = {}) {
  const s = { ...settings, ...props };
  const dark = usePageDark();
  return (
    <div className="min-h-screen w-full bg-background">
      <KestrelDashboard accent={s.accent} workspace={s.workspace} userName={s.userName} live={s.live} theme={dark ? "dark" : "light"} />
    </div>
  );
}

Dependencies

More by Code And Chill

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    748
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    439
  • Hovira — Glassmorphism Smart Home Dashboard

    Hovira — Glassmorphism Smart Home Dashboard

    87
  • Vitra — Glass Pricing Section

    Vitra — Glass Pricing Section

    79
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    64
  • Money River — Sankey Money Flow Chart

    Money River — Sankey Money Flow Chart

    41
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    33
  • Tide — Animated Download Button with Progress Ring

    Tide — Animated Download Button with Progress Ring

    26

More in Dashboards

View all
  • Analytics Dashboard

    Analytics Dashboard

    80
  • Creator Dashboard

    Creator Dashboard

    215
  • Insights Dashboard

    Insights Dashboard

    43
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Business/Sales Dashboard

    Business/Sales Dashboard

    1.5K
  • Approval Queue

    Approval Queue

    22
  • Admin Dashboard Cards

    Admin Dashboard Cards

    44