Web development components for $1. No subscriptions.

Dark Mode Theme Switch with Persistence

Preview dimensions are shown in CSS pixels.

Details

A reusable Dark Mode Theme Switch with Persistence for mobile websites and web applications. Includes light, dark, and system preference controls. The demo should use prefers-color-scheme and persist explicit selection. Responsive styling and editable source files included.

Features

  • Dark Mode Theme Switch with Persistence with light, dark, and system preference controls
  • Editable source files
  • JavaScript interaction logic

Keywords:

Standard license

Use and modify this component in personal and commercial projects, including client projects. Do not resell or redistribute it as a standalone component or reusable source collection.

The license included with your purchase and the Terms accepted at checkout govern your use.

Read the Terms of Service

Questions about licensing? Contact us.