Seven transitions
01Pick an effect, then switch the theme from the button.
Dark mode and color themes that reveal with the View Transitions API. No flash on load, one hook for state, and setups for Next.js, Vite and TanStack Start.
Pick an effect, then switch the theme from the button.
Palettes animate with the same transition as dark mode.
Start the reveal from a button, a point or a screen edge.
useTheme() → {theme: –,resolvedTheme: –,colorTheme: –,}Read and set everything from the same hook in any framework.
npm i @space-man/react-theme-animation'use client'import { ThemeProvider } from '@space-man/react-theme-animation'export function Providers({ children }) { return ( <ThemeProvider defaultTheme='system' animationType='circle'> {children} </ThemeProvider> )}Each guide is a small app you can run locally. The source is in spaceman-rta-framework-guides.