Bar chart

Bar chart: Compare one measure across days and scrub any bar for its value. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Bar chart

npx motion-ui-skill add bar-chart

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

Bar chart

Compare one measure across days and scrub any bar for its value.

Install

npx motion-ui-skill add bar-chart

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { BarChart as BarChart } from "@/components/blocks/bar-chart";

export function Example() {
  return (
    <div className="p-6">
      <BarChart />
    </div>
  );
}

Browse this category