Skip to content
IndexDesign corpus
Motion & InteractionAnimation LibraryMITFreeReact

Spaceman React Theme Animation

React theme library with animated light and dark transitions for Next.js, TanStack, and Vite

Aboutgithub.com

This monorepo holds @space-man/react-theme-animation, a React theming library with animated theme transitions. It ships setup guides for the Next.js App Router and Pages Router, TanStack Start with cookie-based SSR, and Vite single-page apps. A ThemeProvider and a useTheme hook control the theme. The project uses the MIT license.

For an agent

Use it when a theme switch needs a visible transition, such as a circular reveal. Test it with reduced motion turned on, and keep the switch instant in that case.

Why it is here. It packages the theme-transition effect with SSR setups that avoid a flash of the wrong theme.

Install command, framework, licence and component list.
Notable for
  • Next.js
  • TanStack
  • and Vite guides
  • SSR-safe setup
  • MIT license
Provenance

Verified 2026-10-09. HTTP 200. https://github.com/tonyedgal/spaceman-react-theme-animation (HTTP 200, page fetched 2026-10-09), https://github.com/tonyedgal/spaceman-react-theme-animation (GitHub API, 55 stars), depo.zip listing https://www.depo.zip/tools/j5740wg4gq7kb33ep48p71zb1d7t7b2t

Related resourcesMotion & Interaction