Tooltip
A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
Installation
pnpm dlx shadcn@latest add tooltipUsage
import { Button } from "@/components/ui/button";
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.