Interactive UI Switches • 199 Assets

Free Animated Toggle Buttons & Switch Lotties

Tactile animated toggle switches, day-to-night mode sliders, and interactive form input micro-animations. Elevate settings pages and navigation menus with satisfying motion.

Commercial & Personal Use FreeLightweight JSON & dotLottie60 FPS Resolution Independent
Showing 24 of 199 animationsBrowse All 100+ Categories
PreviousPage 1 of 9Next
Developer Quick Start

How to use these toggle switch & buttons in your application

Download the JSON file or dotLottie asset and integrate it with your favourite framework in under 2 minutes:

// 1. Install Lottie for React / Next.js
npm install @lottiefiles/dotlottie-react

// 2. Render smooth 60 FPS animation
import { DotLottieReact } from '@lottiefiles/dotlottie-react';

export default function Loader() {
  return (
    <DotLottieReact
      src="/animations/toggle-switch-animation.json"
      loop
      autoplay
      style={{ width: 120, height: 120 }}
    />
  );
}
Frequently Asked Questions

Frequently Asked Questions about Toggle Switch & Buttons

Can I trigger these toggle animations on click or state change?

Yes! Using Lottie player libraries, you can play segments on click (e.g., frames 0 to 30 for ON, and 30 to 60 for OFF) to create interactive switches.