Buttons Fancy Stable

InteractiveHoverButton

Button with interactive hover effect revealing alternate content

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)

Slots

SlotDescription
childrenButton content (overrides text prop)