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

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 />

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

Slots

SlotDescription
childrenButton content (overrides text prop)