Imgcli

Charts & Stats

Bar Chart

A week at a glance with one day as the story: bars grow in turn, the highlighted bar takes the accent and its value counts up, then a delta chip lands.

Make a video
Type
Animation
Duration
4.0s
Category
Charts & Stats
Source
Imgcli

Install

$ npx @imgcli/cli add bar-chart

A week at a glance with one day as the story: bars grow in turn, the highlighted bar takes the accent and its value counts up, then a delta chip lands.

Installation

npx @imgcli/cli add bar-chart

Usage

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

<BarChart />

Render at 30 fps for 120 frames (4 seconds) with the default props. The preview uses a 960 × 540 canvas.

Use <BarChart title="Renders this week" values={[312, 358, 551]} labels={["Fri", "Sat", "Sun"]} delta="+38% vs last week" /> for 120 frames at 30 fps (BAR_CHART_SECONDS).

PropTypeDefaultDescription
title
string"Renders this week"
labels
readonly string[]["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
values
readonly number[][312, 358, 341, 402, 389, 274, 551]
highlight
number—Which bar is the story. Defaults to the last.
delta
string"+38% vs last week"A short change label shown once the bars land, such as "+38% vs last week".
unit
string""
fontFamily
string—A face from the Imgcli font list, or any loaded CSS font stack.
accentColor
string—
theme
Partial<ImgcliTheme>—
mode
"light" | "dark"—
speed
number1

License

MIT. Free for personal and commercial use. Preserve the copyright and license notice.

Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>

Frequently asked questions

How do I add Bar Chart to a Remotion project?

Run npx @imgcli/cli add bar-chart in your Remotion project. The CLI copies the editable source into components/imgcli/ under your source root and installs its dependencies.

What is Bar Chart?

Bar Chart is a Remotion bar chart animation for React. A week at a glance with one day as the story: bars grow in turn, the highlighted bar takes the accent and its value counts up, then a delta chip lands.

What do I need before using Bar Chart?

Use Node.js 20.19 or newer and an existing Remotion project. Create one with npx create-video@latest. The component is free and MIT licensed.