Mega Sale — up to 70% off every Pro plan

Ends Oct 8 at 10:00 am GMT+0000. Claim the discount

Explore WordPress Dark Mode Toggle Switches — 16 Live Demos

Darkify gives you full control over your dark mode experience — including 16 fully customizable, beautifully animated toggle switches. These WordPress dark mode toggle switches are designed to match any theme, brand, or style. Use the live demo below to try them out.

Try all 16 toggle switches in action

Every switch below is live — click each one to watch it animate.

The moon circles the sun in a smooth, celestial loop.

The original smooth toggle — simple, clean, and iconic.

The sun expands outward, morphing seamlessly into a moon.

Inspired by Google Fonts, the moon reveals itself from within.

A collapsing sun gives way to a moon hidden inside.

A rotating arc carries the switch from day to night.

Light and shadow split the toggle down the middle.

The sun dips below the horizon as night falls.

One disc slides across another in a total eclipse.

A bulb switches off, dimming the page with it.

Darkness spreads outward from the centre of the icon.

A half sun rotates to reveal its darker half.

A minimal toggle that stays out of the way.

Two states, one fluid motion between them.

Light
Dark

Side-by-side halves trade places on click.

The icon shifts across the track as the theme changes.

Fine-tune your dark mode switcher’s style

Size, colors, and borders — all previewed live as you change them.

Choose any of the 16 animated togglers as your site-wide switch.

Set separate background colors for light and dark mode.

Pick a preset size from XS to XXL, or enter a custom value.

Control border width and corner radius to match your design.

Recolor the icon independently in light and dark mode.

Scale the icon inside the switch.

Position your switch exactly where you want it

Pick a corner, set the margins, and override it all on mobile.

Place the floating switch in any of the four screen corners.

Set the exact distance from each edge of the screen in pixels.

Override the corner and offsets just for mobile visitors.

Let the switch scroll with the page instead of staying fixed.

Recolor the icon independently in light and dark mode.

Allow visitors to drag the switch to a spot they prefer.

Shortcodes and custom switches made simple

Drop a switch anywhere, or turn any element on your page into one.

This heading is a real dark mode switch. Click to try it.

Drop darkify switch anywhere WordPress shortcodes are supported.

Turn any existing element into a switch with a CSS selector.

Show a short hint when visitors hover the floating switch.

Place the tooltip on whichever side suits your layout.

Write your own wording, in any language.

Match the tooltip colors and shape to your brand.

Common Questions About Dark Mode Switches

Yes — use the Alternative Dark Mode Switch setting to point Darkify at any element on your site with a CSS selector, and clicking it will toggle dark mode.

Choose one of the four screen corners, then fine-tune the exact distance from each edge with the margin controls.

Yes. Turn on the mobile position override to give mobile visitors a different corner and offsets from desktop.

The tooltip shows a short hint when a visitor hovers over the floating switch. You can set your own text, choose which side it appears on, and style it to match your brand.

Yes — paste the generated shortcode into any page, post, or widget area to place a switch exactly where you want it.

Toggle Dark Mode