Airbnb

Legends

Cards 62

About

Here is legends component

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

Code

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

Usage.tsx

// src/components/ui/legends-chart-demo.tsx

import { LegendsChart } from "@/components/ui/legends";

const DemoLegendsChart = () => {
  return (
    <div className="flex w-full h-screen justify-center items-center bg-gray-100 p-4">
      <LegendsChart events={true} />
    </div>
  );
};

export { DemoLegendsChart };

Dependencies

More by Airbnb

View all
  • Heatmaps

    Heatmaps

    125
  • Radar chart

    Radar chart

    124
  • Pie chart

    Pie chart

    104
  • Linktypes

    Linktypes

    100
  • Finance Chart

    Finance Chart

    92
  • Word cloud

    Word cloud

    70
  • Streamgraph

    Streamgraph

    56
  • Tooltip

    Tooltip

    52

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198