Carregando…
Carregando…
Carregando…A tooltip that follows the cursor with viewport-edge collision, spring height and touch support — adapted from Aceternity UI.
Tooltip Card — segue o cursor sem sair da tela
$ npx kikitocn add tooltip-card@/lib/utilsmotionimport { TooltipCard } from "@/components/ui/cn/tooltip-card/TooltipCard";
export function TooltipCardExample() {
return (
<TooltipCard>
Tooltip Card
</TooltipCard>
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
content* | React.ReactNode | — | Conteúdo do tooltip |
children* | React.ReactNode | — | Alvo que dispara o tooltip |
containerClassName | string | — | Classe no wrapper do alvo |