Custom Light/Dark Mode Toggle on Framer

19 Mar 2025 · 4 min
4:23

Build a custom light/dark mode toggle in Framer using color styles and a code component. The toggle saves user preference to localStorage, detects system theme automatically, and uses CSS animations to scale the inner circle based on overall size.

Chapters

More from Andres

0:38
youtube.com

Interactive UI skills (like cursor & linear) 😏 #webdesign #framer #ad

1w ago
0:36
youtube.com

Claude Design, meet Aqua Chat (anyone else obsessed with Aqua UI 👀) #claude #design @claude #ad

2w ago
0:53
youtube.com

Website redesign for the coolest Y-Combinator startup everrrrr 😏#framer #webdesign #ad

2w ago
0:40
youtube.com

How to create interactive 3d shapes 😏

3w ago
0:20
youtube.com

Animate on scroll (free template) 👀

1mo ago
6:14
youtube.com

how to build STUNNING websites

1mo ago
8:22
youtube.com

how i'm ACTUALLY building websites (real project)

1mo ago
0:39
youtube.com

Recreating Apples scroll based interactions is fun 👀

1mo ago
0:24
youtube.com

Bolt has a template marketplace now? 👀

2mo ago
0:28
youtube.com

Break barriers by letting Framer agents' break points 😏 #webdesign #framer #framerpartner

2mo ago
0:35
youtube.com

Website Redesign @Flowglad 👀 #framer #websitedesign

2mo ago
See all content