Default Tooltip

Tooltip top

<script>
import {Tooltip, Button} from 'flowbite-svelte'
</script>

<Tooltip tip="My tooltip content" top>
  <Button />
</Tooltip>

Tooltip bottom

<script>
import {Tooltip, Button} from 'flowbite-svelte'
</script>

<Tooltip tip="My tooltip content" bottom>
  <Button />
</Tooltip>

Tooltip right

<script>
import {Tooltip, Button} from 'flowbite-svelte'
</script>

<Tooltip tip="My tooltip content" right>
  <Button />
</Tooltip>

Tooltip left

<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

References