Hover Card

Reveal contextual detail on hover or focus.

Examples

Installation

Install the package, then import only the components a route uses. Exports are tree-shakable.

Install
pnpm add fractalsvelte
Import
<script lang="ts">
	import { HoverCard } from 'fractalsvelte';
</script>

Usage

Usage
<script lang="ts">
	import { HoverCard } from 'fractalsvelte';
</script>

<HoverCard label="@fractalsvelte">A UI library for SvelteKit.</HoverCard>

Props

PropTypeDefaultDescription
labelstring-Accessible label for the trigger.