xevrion

Toggle switch

Buttons

About

Leans into the move when pressed, then springs across and squashes on landing.

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

Code

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

Usage.tsx

import ToggleSwitchDemo from "@/components/ui/xevrion-toggle-switch";

export default function Demo() {
  return <ToggleSwitchDemo />;
}

Dependencies

More by xevrion

View all
  • Tape measure

    Tape measure

    2
  • Pricing toggle

    Pricing toggle

    2
  • Carousel 3d

    Carousel 3d

    2
  • Sticky stack

    Sticky stack

    2
  • Spoiler text

    Spoiler text

    2
  • Text progress

    Text progress

    2
  • Bubble wrap

    Bubble wrap

    1
  • Binary year

    Binary year

    1

More in Buttons

View all
  • Button

    Button

    168
  • Texture Button

    Texture Button

    122
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    1
  • Button

    Button

    21