// readme

Free & open-source theme, page and UI transitions for React.
Built on React 19.3 <ViewTransition> and addTransitionType, distributed with shadcn/ui.

Features

  • โš›๏ธ React-native transitions โ€” Driven by <ViewTransition>, startTransition, and addTransitionType; no manual document.startViewTransition
  • ๐ŸŒ— Theme transitions โ€” Animate light/dark switches from the click point, a control, or the viewport centre
  • ๐Ÿงญ Page transitions โ€” Animate route changes, with reversed animations for back navigation
  • ๐Ÿงฉ UI components โ€” Tabs, carousels, lists, kanban boards and more whose state changes glide, morph and slide
  • ๐ŸŽจ Pure CSS styles โ€” Every style is a small CSS file you own; tune duration and easing with CSS variables
  • ๐Ÿ“ฆ shadcn/ui compatible โ€” Install the core and any style with the shadcn CLI
  • ๐Ÿ›Ÿ Graceful fallback โ€” Browsers without view transitions switch instantly

Components

Theme

  • Core: Theme Transition (ThemeTransitionProvider, useThemeTransition, ThemeTransitionScript)
  • Controls (4): Theme Toggle Button, Theme Toggle Switch, Theme Switcher,โ€ฆ