Controlled usage with next-themes so useTheme() subscribers stay in sync on toggle.
npx shadcn@latest add @magicui/animated-theme-toggler-next-themes-demo
animated-theme-toggler-next-themes-demo