Chetan Verma

Switch

Component 68

About

A switch component made with Framer Motion and Tailwind CSS.

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

Code

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

Usage.tsx

import Switch from "@/components/ui/switch";

export default function DemoOne() {
  return <Switch />;
}

Dependencies

More by Chetan Verma

View all
  • Floating Action Menu

    Floating Action Menu

    1.5K
  • Animated Tabs

    Animated Tabs

    1.5K
  • Video Player

    Video Player

    1.3K
  • Stacked Cards Interaction

    Stacked Cards Interaction

    796
  • Dropdowm Menu

    Dropdowm Menu

    548
  • Input With Tags

    Input With Tags

    524
  • Avatar Group

    Avatar Group

    505
  • Stacking Navbar

    Stacking Navbar

    334