This component no longer exists. It was in shadcn/ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
tooltip
zenithui-chandubobbili/tooltipRemovedComponent
shadcn/ui publishes no description for this item.
Install it
npx shadcn@latest add https://zenithui.chandubobbili.dev/r/tooltip.jsonSource
1"use client"23import type { ComponentProps } from "react"4import * as TooltipPrimitive from "@zenithui/tooltip"5import { cn } from "@/lib/utils"67export const TooltipProvider = TooltipPrimitive.Provider89export function Tooltip({10 delayDuration = 700,11 children,12 ...props13}: ComponentProps<typeof TooltipPrimitive.Root>) {14 return (15 <TooltipPrimitive.Root16 {...props}17 delayDuration={delayDuration}18 >19 {children}20 </TooltipPrimitive.Root>21 )22}2324export function TooltipTrigger({25 children,26 ...props27}: ComponentProps<typeof TooltipPrimitive.Trigger>) {28 return (29 <TooltipPrimitive.Trigger {...props}>{children}</TooltipPrimitive.Trigger>30 )31}3233export function TooltipContent({34 className,35 children,36 showArrow = true,37 ...props38}: ComponentProps<typeof TooltipPrimitive.Content> & {39 showArrow?: boolean40}) {41 return (42 <TooltipPrimitive.Content43 {...props}44 className={cn(45 "bg-card-foreground text-card z-50 rounded-sm px-3.5 py-2 text-xs",46 className,47 )}48 >49 {children}50 {showArrow && <TooltipPrimitive.Arrow />}51 </TooltipPrimitive.Content>52 )53}
What it pulls in
npm packages
