mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
707 B
707 B
description, links
| description | links | |||||||
|---|---|---|---|---|---|---|---|---|
| Display content that appears on hover next to an element. |
|
Usage
::component-example #default :tooltip-example #code
<template>
<UTooltip text="Tooltip example" :shortcuts="['⌘', 'O']">
<UButton color="gray" label="Hover me" />
</UTooltip>
</template>
::
Slots
text
Use the #text slot to override the content of the text.
::component-card
slots: text: Hello World!
#text [Hello World!]{.italic} ::
Props
:component-props
Preset
:component-preset