I'll create a goal countdown wallpaper with gray dots that turn red as days pass, plus a percentage counter. Let me start by exploring the project structure.
Now I have a clear picture. Let me design a beautiful wallpaper-style goal countdown app. I'll create:
- A
Wallpaper.tsx component that displays the dot grid and percentage
- A
Controls.tsx for setting goal name, start date, and end date
- A
useLocalStorage hook to persist the goal settings
- A stunning dark wallpaper aesthetic with subtle animations
Let me first update the index.html title, then build the app.
Now let me build the wallpapers in two aspect ratios (desktop 16:9 and mobile 9:16) and the controls panel.
Now let me create the actual Wallpaper component (the visual centerpiece) and the Controls panel.
Now let me wire it all together in App.tsx with a polished layout.
Now let me build the project to confirm everything compiles correctly.
The project builds successfully. Here's a summary of what I created for you:
🎯 Goal Countdown Wallpaper
A beautiful dark-themed goal tracker that visualizes your journey one dot at a time.
What it does
- Set a goal with a name, start date, and end date (or pick a quick preset like 30 / 66 / 90 / 100 / 365 / 730 / 1095 days)
- A grid of dots represents every day in your goal window
- ⬤ Gray dots = days still ahead
- 🔴 Glowing red dots = days that have already passed (with a soft red shadow)
- ✨ Pulsing red dot with a ring = today
- A red percentage counter shows exactly how much of your time has been spent (with a smooth count-up animation)
- Auto-rollover: if your end date passes, the start date jumps to today and the span is preserved
- Two wallpaper variants rendered side-by-side: 16:9 desktop and 9:16 mobile — so you can use either as your wallpaper
Files
index.html — updated title to "Days Remaining — Goal Wallpaper"
src/index.css — added custom keyframes (pulse-soft, float-slow, shimmer) and dark scrollbar
src/hooks/useLocalStorage.ts — persists your goal settings between visits
src/lib/date.ts — date math helpers (inclusive day count, day elapsed, formatting)
src/components/DotGrid.tsx — the auto-sizing dot grid (column count adapts to total days)
src/components/CountUp.tsx — smooth animated number transitions for the percentage counter
src/components/Wallpaper.tsx — the visual wallpaper with two layouts (desktop & mobile), ambient glows, and a subtle grid texture
src/components/Controls.tsx — goal name, date pickers, and quick-preset buttons
src/App.tsx — orchestrates everything with a hero header, preview gallery, controls, and a "How it works" legend
Everything saves locally to your device, so your goal is there when you come back.
Files built: index.html, src/index.css, src/hooks/useLocalStorage.ts, src/lib/date.ts, src/components/DotGrid.tsx, src/components/CountUp.tsx, src/components/Wallpaper.tsx, src/components/Controls.tsx, src/App.tsx