LN

FlipButton

Buttons 292

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.3K
  • Visualize Booking

    Visualize Booking

    625
  • Assisted Password Confirmation

    Assisted Password Confirmation

    596
  • Tags Selector

    Tags Selector

    560
  • Mega Menu

    Mega Menu

    396
  • Feedback Slider

    Feedback Slider

    328
  • Dynamic Action

    Dynamic Action

    224

More in Buttons

View all
  • Texture Button

    Texture Button

    97
  • Button

    Button

    5
  • Button Group

    Button Group

  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • HeroUI Button Group

    HeroUI Button Group

  • App Store Button

    App Store Button

    458
  • Base Button

    Base Button

    4