reframe/ui
reframe/ui

Command Palette

Search for a command to run...

Gsap Hover Button

Installation

Install Dependencies

Copy and Paste the component

@/components/reframe-ui/gsap-hover-button.tsx

Usage

Props

NameTypeDefaultRequiredDescription
textReact.ReactNode-NoText content for the button. If omitted, children are rendered instead.
iconReact.ReactNode-NoRight-side icon node. Defaults to lucide ArrowUpRight.
iconWrapperClassNamestring-NoClass names applied to the icon wrapper (the circular background).
animHoverAnimConfig-NoGSAP tween configuration to customize hover animations for the button container and icon wrapper.
classNamestring-NoClass names for the button container.
...buttonPropsReact.ButtonHTMLAttributes<HTMLButtonElement>-NoAll native button props are forwarded.
© Copyright 2025. All rights reserved.Built by @thommysart