Components
Loading preview...
A reusable flip button component that dynamically switches between two customizable texts with a smooth rotation animation.
npx shadcn@latest add https://21st.dev/r/ln-dev7/flip-buttonimport { FlipButton } from "@/components/ui/flip-button"
export function FlipButtonDemo() {
return <FlipButton text1="Cancel" text2="Submit" />;
}