A CLI tool that instantly sets up dark/light theme toggling in your Next.js projects + Tailwind CSS v4 with zero configuration hassle.
Overview
The Next Theme Toggle is an innovative CLI tool designed for developers who want to easily implement dark and light theme toggling in their Next.js projects using Tailwind CSS v4. With user-friendliness as a priority, this tool ensures a seamless setup process without the usual configuration hassles. It caters to both TypeScript and JavaScript projects, making it a versatile choice for a wide range of developers.
This tool enhances user experience with smooth transitions and smart theme detection that adapts to system preferences. Whether you’re working on a fresh installation or upgrading an existing project, the Next Theme Toggle streamlines the process, allowing you to focus on building your application.
Features
- One command setup: Get theme switching operational in mere seconds, eliminating the need for complex configurations.
- Tailwind CSS v4: Automatically installs or upgrades to the latest version of Tailwind, ensuring you have access to modern styling capabilities.
- TypeScript & JavaScript support: Full compatibility with both languages, making it suitable for any project setup.
- Smooth transitions: Enjoy elegant animations when switching themes, enhancing the visual appeal of your application.
- Smart theme toggle: Utilizes next-themes for automatic detection of user system preferences, providing a personalized experience.
- Responsive design: Ensures a flawless user experience on both mobile and desktop devices.
- Non-destructive installation: Only new files are added, and only a few existing files are modified, keeping your project intact.
- Custom components: Includes pre-built Header, ThemeToggle, and ExampleCard components, ready for immediate use.