Variable: FlipButton
@arolariu/components / FlipButton
Variable: FlipButton
constFlipButton:ForwardRefExoticComponent<Omit<FlipButtonProps,"ref"> &RefAttributes<HTMLButtonElement>>
Defined in: components/ui/flip-button.tsx:44
Renders a two-sided button that flips between front and back labels on hover.
Remarks
- Animated component using the
motionlibrary - Renders a
<button>element - Styling via CSS Modules with
--ac-*custom properties - Client-side only (
"use client"directive)
Example
<FlipButton frontText="Learn more" backText="Open" />
See
FlipButtonProps for available props
// was this page useful?