Airbnb

Bar Stack

Component 18

About

here is a bar stac

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

Code

How Bar Stack is used: the demo's code. The component's own source comes with a free account.

Usage.tsx



import { BarStackChart } from "@/components/ui/bar-stack";

const DemoBarStackChart = () => {
  const width = 800;
  const height = 500;

  return (
    <div className="flex w-full h-screen justify-center items-center bg-gray-100">
      <BarStackChart width={width} height={height} events={true} />
    </div>
  );
};

export { DemoBarStackChart };

Dependencies

More by Airbnb

View all
  • Radar chart

    Radar chart

    103
  • Heatmaps

    Heatmaps

    101
  • Pie chart

    Pie chart

    99
  • Linktypes

    Linktypes

    94
  • Finance Chart

    Finance Chart

    83
  • Word cloud

    Word cloud

    62
  • Streamgraph

    Streamgraph

    50
  • Tooltip

    Tooltip

    49