LN

FlipButton

Buttons 290

About

A reusable flip button component that dynamically switches between two customizable texts with a smooth rotation animation.

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

Code

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

Usage.tsx

import { FlipButton } from "@/components/ui/flip-button"

export function FlipButtonDemo() {
  return <FlipButton text1="Cancel" text2="Submit" />;
}

Dependencies

More by LN

View all
  • Pricing Interaction

    Pricing Interaction

    1.4K
  • Dorpdown Navigation

    Dorpdown Navigation

    1.2K
  • Visualize Booking

    Visualize Booking

    622
  • Assisted Password Confirmation

    Assisted Password Confirmation

    593
  • Tags Selector

    Tags Selector

    547
  • Mega Menu

    Mega Menu

    389
  • Feedback Slider

    Feedback Slider

    326
  • Dynamic Action

    Dynamic Action

    221

More in Buttons

View all
  • Texture Button

    Texture Button

    95
  • Eclipse Button

    Eclipse Button

    6
  • App Store Button

    App Store Button

    457
  • Button Group

    Button Group

  • Button

    Button

    32
  • Button

    Button

    14
  • Button

    Button

    65
  • HeroUI Button Group

    HeroUI Button Group

    9