<Changelog variant="minimal" />Clean surfaces and measured motion.
Installation
Use the shadcn CLI to copy the component source and its dependencies into your own project. Installs motion, plus the Ovio theme, world, motion, toy, format items.
npx shadcn add JanaSundar/ovio/changelog↳You own the source. Ovio components arrive in your codebase so you can edit any part of their style, behavior, or data flow.
Usage
Set the visual world on the component, or wrap the page in an OvioProvider to set a default for everything inside it.
TSXvariant="minimal"
import { Changelog } from "@/components/ovio/changelog/changelog"
<Changelog
variant="minimal"
releases={releases}
/>Built with: CSS · Motion for React
Motion in Minimal: Small springs, opacity and layout shifts that show state.
Data
Fetch it on the server with getReleases("owner/name") and pass the result as props. The helper is lib/github.ts, added with the CLI.
npx shadcn add JanaSundar/ovio/github| Source | GitHub's REST API: the 30 latest releases. Bullet lines become notes, tagged added, fixed or changed by their heading or first word. |
| Auth | Optional. GITHUB_TOKEN (or { token }) raises the limit from 60 to 5,000 requests an hour. |
| Limits | One request per refresh. |
| Caching | Cached for an hour by default (revalidate: 3600), so traffic adds no API calls. A failed refresh keeps serving the last good data, and a spent limit throws RateLimitError with the time it resets. |
| This demo | Live data from tailwindlabs/tailwindcss, through the same helper. If the API fails, the sample shows instead. |
Props
Control the data, selected world, animation behavior, and callbacks.
| Prop | Type | Description |
|---|---|---|
| releases | { version; date; title; items: (string | { type?; text })[]; hash? }[] | Newest first. Item types: added, fixed, changed. |
| variant | | "minimal" | "craft" | "retro" | "toy" | Which world to render. Defaults to the nearest OvioProvider, then minimal. |
| limit | number | Releases shown. All when left out. |
| className | string | Merged onto the root. |