LN

FlipButton

Buttons 288

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

    618
  • Assisted Password Confirmation

    Assisted Password Confirmation

    585
  • Tags Selector

    Tags Selector

    531
  • Mega Menu

    Mega Menu

    386
  • Feedback Slider

    Feedback Slider

    326
  • Dynamic Action

    Dynamic Action

    219

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Button

    Button

    32
  • Split Button

    Split Button

    32