About
A progress bar drawn as a row of ticks lit up to the current value, for a more graphic take on progress toward a goal. Used by several of the KPI blocks.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tick Bar to your project and fits it to your theme.
Code
How Tick Bar is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TickBar } from "@/components/ui/dashboardcn-tick-bar"
export default function TickBarDemo() {
return (
<div className="flex w-full max-w-sm flex-col gap-6">
<TickBar value={46} color="var(--color-emerald-500)" />
<TickBar value={7_420} max={12_300} color="var(--color-violet-500)" />
<TickBar value={16} max={24} segments={24} shape="pill" color="var(--foreground)" />
</div>
)
}
















