Introducing Magic UI Pro - 50+ blocks and templates to build beautiful landing pages in minutes.

19.0k
216

Interactive Hover Button

PreviousNext

A visually engaging button component that responds to hover with dynamic transitions, adapting smoothly between light and dark modes for enhanced user interactivity.

Installation

pnpm dlx shadcn@latest add @magicui/interactive-hover-button

Usage

import { InteractiveHoverButton } from "@/components/magicui/interactive-hover-button";
<InteractiveHoverButton>Interactive Hover Button</InteractiveHoverButton>

Props

PropTypeDefaultDescription
textstringButtonThe text to be displayed inside the button
classNamestring-Additional class names to style the component

Credits