Skip to content
Buttons Fancy Stable

InteractiveHoverButton

.md

Button whose dot opens into a circle that fills it on hover, while the label rolls up and out and returns with an arrow

Available for Svelte 5, React, and Vue 3.

Preview

Installation

pnpm add fancy-ui-svelte
import { InteractiveHoverButton } from "fancy-ui-svelte";

Usage

svelte
<script lang="ts">
  import { InteractiveHoverButton } from 'fancy-ui-svelte';
</script>

<InteractiveHoverButton text="Hover Me" />

Examples

Basic Usage

Custom Text

Custom Styling

Props

PropTypeDefaultDescription
text string"Button"Button label text (used when children slot is not provided)
sound booleanfalsePlays the press cue on activation, once the user has enabled sound
onclick (event: MouseEvent) => void-Click handler, called after the press cue when sound is on

Slots

SlotDescription
children Button content (overrides text prop)