Persistent Dark Mode Switch

Use this simple custom code approach to retain the user's selection of dark mode across pages by storing it in local storage..

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
1.22.23

Similar items

Items
2781
Search

CSS Only Animations

3.17.24

HTML <dialog> Modal

1.22.24

Easy Tooltips in Webflow

3.10.23

Webflow Autoplay Tabs w/ Play/Pause Button

2.10.23

JavaScript Inside Webflow Components

8.11.24

Restock

View Restock

GSAP Crash Course for Webflow

12.7.23

Dark Mode Toggle With Webflow Variables

11.28.23

Pixelate Images Interaction in Webflow

3.18.23

Images Inside Text Spans in Webflow

1.26.23

Autoplaying Swiper Slider

5.5.25

Tabs to Dropdown

5.9.23

Swiper Tabs Slider

5.9.23

Interactive CMS Map w/ Mapbox

12.8.22

Multi-track Audio Player

11.1.22

Age Gate Overlay

5.10.22

Add-a-Field Form

3.22.22

CMS Card Slider + Filter

1.13.22

Custom Media Player Integration with Plyr.io

6.2.21

CSS Hamburgers

10.24.24

FlowScripts GPT - GSAP Code for Webflow

5.27.24

A New Framework for Color in Webflow

5.11.23

Particles for Framer

1.13.23

GitHub Copilot

12.30.22

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.

Subscribe