Tooltip
Explain a control on hover or keyboard focus.Examples
Installation
Install the package, then import only the components a route uses. Exports are tree-shakable.
Install
pnpm add fractalsvelteImport
<script lang="ts">
import { Tooltip } from 'fractalsvelte';
</script>Usage
Usage
<script lang="ts">
import { Tooltip } from 'fractalsvelte';
</script>
<Tooltip content="Add to library"><Button>Hover</Button></Tooltip>Props
| Prop | Type | Default | Description |
|---|---|---|---|
content | string | - | The text revealed by the component. |
