# Interactive hover button

A call-to-action button with a spinning edge and a fill that swells on hover.

Section: Effects / Pointer
Page: https://ui.heyramzi.com/components/interactive-hover-button
Import path: `@heyramzi/ui/effects/interactive-hover-button`

## Import

```ts
import { InteractiveHoverButton } from "@heyramzi/ui/effects/interactive-hover-button";
```

## Demo

```svelte
<script lang="ts">
	import { InteractiveHoverButton } from "@heyramzi/ui/effects/interactive-hover-button";
</script>

<div class="flex flex-wrap items-center gap-4">
	<InteractiveHoverButton>Book a call</InteractiveHoverButton>
	<InteractiveHoverButton tone="coral">See pricing</InteractiveHoverButton>
	<InteractiveHoverButton size="sm" dot={false}>Read the guide</InteractiveHoverButton>
	<InteractiveHoverButton size="sm" beam={false}>Sign in</InteractiveHoverButton>
</div>
```

## API

| Prop | Type | Default | Notes |
| --- | --- | --- | --- |
| `href` | `string` |  |  |
| `type` | `"button" \| "submit"` | `"button"` | `submit` posts the form the button sits in. |
| `disabled` | `boolean` | `false` |  |
| `size` | `"default" \| "sm"` | `"default"` | `sm` is 40px for a condensed bar; under a thumb both are 44px. |
| `tone` | `"ink" \| "coral"` | `"ink"` |  |
| `beam` | `boolean` | `true` |  |
| `dot` | `boolean` | `true` |  |
| `class` | `string` |  |  |
| `onclick` | `(event: MouseEvent) => void` |  |  |
| `children` | `import("svelte").Snippet` |  | required |
