CD-04Cards
Apple Activity Card
Activity rings that draw with a count-up, lap past 100% with a shadowed end cap and dim to focus, built with React and Motion.
PROOnboarding Checklist and more like it are in Kokonut UI Pro
Installation
Apple Activity Card is a free, open-source React component in the Kokonut UI Cards collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/apple-activity-card.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/apple-activity-cardOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/apple-activity-card.tsx.
npm install motionUsage
import AppleActivityCard from "@/components/kokonutui/apple-activity-card";
export default function Example() {
return <AppleActivityCard />;
}Props
titlestringDefault "Activity Rings"titleAs"h1" | "h2" | "h3" | "h4" | "h5" | "h6"Default "h2"Heading level for the title, to fit the page outline.
activitiesActivityData[]Default built-inRings, outermost first. Defaults to sample data.
classNamestringExtra classes for the root element.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
motion | ^12.23.25 | npm, installed by the CLI |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

