Jatin Yadav

Bouncy Toggle

Forms 221

About

Micro interaction clean toggle switch with bouncy effect and press effect.

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

Code

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

Usage.tsx

import { PremiumToggle } from "@/components/ui/bouncy-toggle"

export default function Page() {

  return (
    <div className="min-h-screen bg-background flex items-center justify-center p-8 w-full">
      <div className="flex flex-col gap-8">
        <div className="flex flex-col items-center gap-6">
          <div className="text-center space-y-2">
            <p className="text-xs uppercase tracking-[0.2em] text-muted-foreground font-medium">Premium Component</p>
            <h1 className="text-2xl font-semibold text-foreground tracking-tight">Toggle Switch</h1>
          </div>

          <div className="p-8 rounded-2xl bg-muted/30 border border-border/50">
            <PremiumToggle defaultChecked={true} onChange={(checked) => console.log("Main toggle:", checked)} />
          </div>
        </div>

      </div>
    </div>
  )
}

More by Jatin Yadav

View all
  • Radial Orbital Timeline

    Radial Orbital Timeline

    7.4K
  • Expand Map

    Expand Map

    2.8K
  • Sign In Card

    Sign In Card

    2.6K
  • Project Showcase

    Project Showcase

    2.2K
  • Etheral Shadow

    Etheral Shadow

    2.1K
  • Vapour Text Effect

    Vapour Text Effect

    2K
  • Animated AI Chat

    Animated AI Chat

    1.6K
  • Vertical Image Stack

    Vertical Image Stack

    1.6K

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    47
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Login Form

    Login Form

    6
  • Form

    Form

    16
  • Book A Demo 3

    Book A Demo 3

    83