Default Tooltip
Tooltip top
My tooltip content
<script>
import {Tooltip, Button} from 'flowbite-svelte'
</script>
<Tooltip tip="My tooltip content" top>
<Button />
</Tooltip>
Tooltip bottom
My tooltip content
<script>
import {Tooltip, Button} from 'flowbite-svelte'
</script>
<Tooltip tip="My tooltip content" bottom>
<Button />
</Tooltip>
Tooltip right
My tooltip content
<script>
import {Tooltip, Button} from 'flowbite-svelte'
</script>
<Tooltip tip="My tooltip content" right>
<Button />
</Tooltip>
Tooltip left
My tooltip content
<script>
import {Tooltip, Button} from 'flowbite-svelte'
</script>
<Tooltip tip="My tooltip content" left>
<Button />
</Tooltip>
Props
The component has the following props, type, and default values. See types page for type information.
Name | Type | Default |
---|---|---|
tip | string | - |
top | boolean | false |
right | boolean | false |
bottom | boolean | false |
left | boolean | false |
active | boolean | false |
Related components
References
- Read more about Buttons