Command Palette

Search for a command to run...

Docs
Interactive Hover Button

Interactive Hover Button

A button component with an interactive hover effect where icons animate smoothly from the left and to the right.

Installation

Usage

import { InteractiveHoverButton } from "@/components/motionx/interactive-hover-button";
<InteractiveHoverButton>Hover Me</InteractiveHoverButton>

Props

The component extends the standard Button props from shadcn/ui and adds the following custom props:

PropTypeDefaultDescription
iconReactNode-Custom icon to display inside the button.
...propsButtonProps-All standard button props and attributes.