Dark Mode
Learn how to implement dark mode in your AxionJS application using next-themes.
Install next-themes
Start by installing next-themes
:
AxionJS components are designed to work perfectly with next-themes
using CSS variables for theming.
Create a theme provider
Configure your layout
Add a mode toggle
Use this component to switch between light and dark modes: