LN

FlipButton

Buttons 303

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

    Visualize Booking

    653
  • Assisted Password Confirmation

    Assisted Password Confirmation

    610
  • Tags Selector

    Tags Selector

    587
  • Mega Menu

    Mega Menu

    410
  • Feedback Slider

    Feedback Slider

    336
  • Dynamic Action

    Dynamic Action

    246

More in Buttons

View all
  • Button

    Button

    12
  • Notification Button

    Notification Button

    115
  • Texture Button

    Texture Button

    105
  • HeroUI Button Group

    HeroUI Button Group

    2
  • App Store Button

    App Store Button

    481
  • Button

    Button

    78
  • Split Button

    Split Button

    16
  • Button

    Button

    5