---
title: "Manual Theme Toggle — Framer component · Best of Framer"
description: "$14.00 · Framer component · by Nabeel · Buttons. About This component a part of the 400+ components, layouts, templates, UI Kits and code overrides from SegmentUI PRO."
canonical: "https://framer.elliotli.dev/component/manual-theme-toggle"
---

[Home](/)/[Components](/components)/[Buttons](/components/category/buttons)/Manual Theme Toggle

# Manual Theme Toggle

[View on Framer](https://framer.com/marketplace/components/manual-theme-toggle/?via=elliot-li)

![Manual Theme Toggle preview image 1](https://framer.elliotli.dev/og/component/manual-theme-toggle/09caa7eba7a95dfb/1600x1200.jpg)

## Summary

About This component a part of the 400+ components, layouts, templates, UI Kits and code overrides from SegmentUI PRO.

## Description

## About

This component a part of the 400+ components, layouts, templates, UI Kits and code overrides from SegmentUI PRO. Click [here](https://segmentui.com/uikit) to see the full library

## Instructions

1.  Copy and paste the ThemeSwitch component code into your Framer project file.
    
2.  Customize the appearance using the property controls in the right-hand panel.
    
3.  Publish your Framer project and view it in a web browser for full functionality.
    
4.  The switch will automatically detect the system theme on initial load.
    
5.  Tggle between light and dark themes & navigate between pages to see it in effect
    

## How It Works

![](https://y4pdgnepgswqffpt.public.blob.vercel-storage.com/components/description-image-csw5qgtk-9LlftdaYN4vqOOQ7GAeG4eBGxFkYED)

The component uses the browser's localStorage API to save the user's theme preference.

When the user toggles the switch, the new theme state ("light" or "dark") is saved to localStorage using the key "currentToggleState".

On component initialization, it checks localStorage for a saved theme:

-   If a theme is found, it's applied immediately.
    
-   If no theme is found, the component defaults to the system theme.
    

This storage mechanism only works when the project is published and viewed in a web browser, as localStorage is a web API.

## What You Get

When you purchase this component, you'll receive:

-   **The Component Itself** - Full access to the component all future updates
    
-   **Remix File with Component Setup** - A complete Remix file with the component pre-configured and ready to integrate into your project.
    
-   **Setup Instructions** - Clear, step-by-step instructions to help you implement the component quickly and correctly.
    
-   **Dedicated Support** - Direct access to our team for assistance if you encounter any issues during setup or implementation.
    

## Support

For any queries and help setting up the component, contact [hello@segmentui.com](mailto:hello@segmentui.com)

## Refund Policy

If a component does not function as advertised and the issue cannot be resolved, you are eligible for a full refund under our quality guarantee. Refunds will not be provided for any other reasons, including change of mind, accidental purchase, lack of use, or expectations of features not explicitly advertised.

## Rank history [How rankings work →](/terms#rankings)

-   All · #10926

## Details

- **Author**: Nabeel
- **Price**: $14.00
- **Published**: 2025-10-06
- **Updated**: 2025-10-06
- **Added**: 2025-09-29
- **Categories**: Buttons

## More like this

-   [Eye Glow Button](/component/eye-glow-button) — Frame Native · Free — Cursor-following eyes, soft glow
-   [Dash Stretch Button](/component/dash-stretch-button) — Pentaclay · Free — Animated Hover Button With a Dash
-   [Nova Theme Toggle](/component/nova-theme-toggle) — Shouvik Biswas · $12 — Three-Mode Theme Toggle
-   [Nabby: Copy Button](/component/nabby-copy-button) — Francesco Gallo · Free — Plug in your button, copy anything
