Goal Progress Card

A savings goal with a liquid progress bar: topping up springs the fill forward under a moving sheen, milestone ticks light as they pass and reaching the goal morphs the button into a check.

Try it: Press “Add $250” until the goal is reached.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/goal-progress-card.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/goal-progress-card. You can also copy the source into components/ui/goal-progress-card.tsx (view on GitHub).

Usage

import { GoalProgressCard } from '@/components/ui/goal-progress-card'

Props

Component props
PropTypeDefaultNotes
title / emojistringTrip to Kyoto / 🗻Goal label.
saved / goal / stepnumber2150 / 4000 / 250Amounts.
milestonesnumber[][0.25, 0.5, 0.75]Tick positions (0–1).
onChange(saved) => void—Called on top-up.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Comparison Bar Card

    This period vs last as paired bars: a segmented control slides a pill between Week, Month and Year while bars re-grow on a spring, and hovering or focusing a pair lifts it with both values.

  • Crypto Ticker Row

    A watchlist with live prices: each tick flashes the price green or red and fades back, mini sparklines morph to the new history and every row is a labelled button.

  • Smart Widget Stack

    An iOS-style widget stack: the top widget sits at full size with the next ones peeking above; scroll, swipe vertically, use ↑ ↓ or the side dots to flip through on a damped spring while content…

  • Wallet Balance Card

    A fanned stack of payment cards: picking one springs it to the front while the rest tuck behind, the balance rolls to the new amount and an eye toggle blurs the figures.

  • Glow Candle Card

    An ink “Sales Report” card with monospaced rolling numerals, a neon delta and a glowing candlestick chart: candles grow from their midpoints, new ones stream in live and a crosshair shows OHLC on…

  • Contribution Heatmap Tile

    A weeks × days activity heatmap: cells pop in on a diagonal wave, the total and streak roll up, and the grid is one roving tab stop where arrows move a ring that announces the day.

See all 13 Data Widgets components