Moumen Soliman

Elastic Toggle Switch

Component 65

About

Toggle switch with elastic spring animation

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Elastic Toggle Switch to your project and fits it to your theme.

Code

How Elastic Toggle Switch is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ElasticSwitch } from "@/components/ui/elastic-switch-shadcnui"

export default function Demo() {
  return (
    <div className="flex min-h-screen items-center justify-center bg-background p-8">
      <ElasticSwitch />
    </div>
  )
}

Dependencies

More by Moumen Soliman

View all
  • Interactive Logs Table

    Interactive Logs Table

    1.4K
  • Glass Blog Card

    Glass Blog Card

    1.1K
  • Glowy Waves Hero

    Glowy Waves Hero

    929
  • Gallery Grid with Lightbox

    Gallery Grid with Lightbox

    807
  • Expanding Search Dock

    Expanding Search Dock

    778
  • Glassmorphism Portfolio

    Glassmorphism Portfolio

    664
  • Hero Section

    Hero Section

    612
  • Glass Checkout Card

    Glass Checkout Card

    497