Back to playground

I'm a Dune light dark mode toggle

Click the button to toggle light and dark mode.

0
0

After watching the movie Dune 2, I was inspired to create this light dark mode toggle button to capture the iconic dessert of the Arrakis, the Shai-Hulud (the largest sandworm), and Paul Atreides (the main character).

I first made the design in Figma, so that I can export the individual elements into SVG conveniently. Then I experimented the implementation in CodeSandbox with Framer Motion. Once satisfied with the results, I moved the code to this portfolio page.