Interactive Hover Button

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

@lucide/svelte

Installation

pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/interactive-hover-button.json

Usage

<script lang="ts">	import { InteractiveHoverButton } from "#lib/components/magic/interactive-hover-button/index.js";</script>
<InteractiveHoverButton>Hover me</InteractiveHoverButton>

Props

Interactive Hover Button

A component for Interactive Hover Button.

NameTypeDefaultDescription
classClassValue""Additional CSS classes to apply
childrenSnippetrequiredThe content to display inside the button