WRAPCODERS

Analytics Action Grid

Cards

About

Six-card horizontal feature grid with action triggers and wireframe illustrations for schema exploration, SQL queries, and dashboards.

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

Code

How Analytics Action Grid is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { useEffect } from "react";
import { AnalyticsActionGrid } from "@/components/ui/analytics-action-grid";

const PROFILE_REFERRAL_URL = "https://21st.dev/@wrapcoders?ref=mdruhulhasan";

const settings = {
  defaultActiveId: "explore-data",
  showFooterCredit: true,
};

export default function AnalyticsActionGridDemo(
  props: Partial<typeof settings>
) {
  const s = { ...settings, ...props };

  useEffect(() => {
    if (typeof window === "undefined") return;
    const themeParam = new URLSearchParams(window.location.search).get("theme");
    if (themeParam === "dark") {
      document.documentElement.classList.add("dark");
    } else if (themeParam === "light") {
      document.documentElement.classList.remove("dark");
    }
  }, []);

  return (
    <div className="min-h-screen w-full bg-background text-foreground flex flex-col items-center justify-center">
      <AnalyticsActionGrid defaultActiveId={s.defaultActiveId} />
      {s.showFooterCredit && (
        <footer className="pb-10 text-center">
          <a
            href={PROFILE_REFERRAL_URL}
            target="_blank"
            rel="noopener noreferrer"
            className="text-xs text-muted-foreground hover:text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background rounded-sm"
          >
            More by @wrapcoders
          </a>
        </footer>
      )}
    </div>
  );
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    121
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Creator Community Arc

    Creator Community Arc

    69
  • LoopAI CRM

    LoopAI CRM

    68
  • Isometric Card Stack

    Isometric Card Stack

    55
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    54
  • Client Management CRM Hub

    Client Management CRM Hub

    48
  • Admin Dashboard Cards

    Admin Dashboard Cards

    44

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.4K
  • Stats cards with links

    Stats cards with links

    46
  • Statistics Card 7

    Statistics Card 7

    342
  • Statistics Card 2

    Statistics Card 2

    321
  • Card Studio

    Card Studio

    37
  • Card

    Card

    65
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Weather Card

    Weather Card

    69