About
Orbiting goal tracker with progress rings, streak badges, and per-goal trend sparklines.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Orbit Goals to your project and fits it to your theme.
Code
How Orbit Goals is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import * as React from "react"
import { OrbitGoals, type Goal } from "@/components/ui/db-orbit-goals"
const GOALS: Goal[] = [
{ id: "move", label: "Move", unit: "min", goal: 45, value: 22, step: 5, hue: 0, history: [20, 30, 50, 46, 48, 47] },
{ id: "focus", label: "Deep focus", unit: "h", goal: 4, value: 2.5, step: 0.5, hue: 1, history: [1, 2, 4.5, 4, 5, 3] },
{ id: "learn", label: "Learn", unit: "pages", goal: 30, value: 12, step: 2, hue: 2, history: [10, 15, 32, 35, 40] },
]
export default function OrbitGoalsDemo() {
return <OrbitGoals goals={GOALS} />
}








