Skip to content

Tooltip

A popup that displays information related to an element when the mouse hovers over it.

Usage

vue
<script setup lang="ts">
import { SecondaryButton, Tooltip } from '@youcan/ui-vue3';
</script>

<template>
  <Tooltip label="Add to favorites" position="top">
    <SecondaryButton>
      Hover
    </SecondaryButton>
  </Tooltip>
</template>

API Reference