REAVIZ

Layered Chart XL

Cards 71

About

Here is Layered Chart XL sized

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

Code

How Layered Chart XL is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import React from 'react';
import IncidentFunnelReportCard from '@/components/ui/layered-chart-xl';

function IncidentFunnelReportCardDemo() {
  const [isDarkMode, setIsDarkMode] = React.useState(false);

  const toggleDarkMode = () => {
    setIsDarkMode(!isDarkMode);
    if (!isDarkMode) {
      document.documentElement.classList.add('dark');
    } else {
      document.documentElement.classList.remove('dark');
    }
  };

  // Optional: Set initial dark mode based on system preference
  React.useEffect(() => {
    const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
    if (prefersDark) {
      setIsDarkMode(true);
      document.documentElement.classList.add('dark');
    }
  }, []);

  return (
    <div className="flex flex-col items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4 transition-colors duration-300">
      <button 
        onClick={toggleDarkMode} 
        aria-pressed={isDarkMode}
        className="mb-4 px-4 py-2 bg-pink-500 text-white rounded hover:bg-pink-600 dark:bg-pink-700 dark:hover:bg-pink-800 transition-colors duration-300 focus:outline-none focus:ring-2 focus:ring-pink-400"
      >
        Toggle Dark Mode ({isDarkMode ? 'On' : 'Off'})
      </button>
      <IncidentFunnelReportCard />
    </div>
  );
}

export default IncidentFunnelReportCardDemo;

Dependencies

More by REAVIZ

View all
  • Funnel Chart Big

    Funnel Chart Big

    126
  • Heat Map XL

    Heat Map XL

    95
  • Area Chart

    Area Chart

    85
  • Stacked Diverging bar

    Stacked Diverging bar

    76
  • Hexagon map

    Hexagon map

    69
  • Area Chart

    Area Chart

    69
  • Incident Report Large

    Incident Report Large

    54
  • Incident Bar Chart

    Incident Bar Chart

    53

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Stats cards with links

    Stats cards with links

    39
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    292
  • Item

    Item

    10