BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/tooltip

tooltip

showcase-elevenlabs/tooltip
FreeComponent

shadcn/ui publishes no description for this item.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/elevenlabs/showcase/main/apps/www/public/r/styles/new-york/tooltip.json

Source

ui/tooltip.tsxraw.githubusercontent.com/elevenlabs/showcase/main/apps/www/public/r/styles/new-york/tooltip.json
1"use client"
2
3import * as React from "react"
4import * as TooltipPrimitive from "@radix-ui/react-tooltip"
5
6import { cn } from "@/lib/utils"
7
8const TooltipProvider = TooltipPrimitive.Provider
9
10const Tooltip = TooltipPrimitive.Root
11
12const TooltipTrigger = TooltipPrimitive.Trigger
13
14const TooltipContent = React.forwardRef<
15 React.ElementRef<typeof TooltipPrimitive.Content>,
16 React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>
17>(({ className, sideOffset = 4, ...props }, ref) => (
18 <TooltipPrimitive.Portal>
19 <TooltipPrimitive.Content
20 ref={ref}
21 sideOffset={sideOffset}
22 className={cn(
23 "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
24 className
25 )}
26 {...props}
27 />
28 </TooltipPrimitive.Portal>
29))
30TooltipContent.displayName = TooltipPrimitive.Content.displayName
31
32export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }

What it pulls in

npm packages

  • @radix-ui/react-tooltip

Files it writes

  • registry/new-york/ui/tooltip.tsx

Facts

Registry
shadcn/ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

showcase.elevenlabs.io elevenlabs/showcase on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 357 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionshadcn/uiComponentsFree1 dep
alertalertshadcn/uiComponentsFreeno deps
alert-dialogalert-dialogshadcn/uiComponentsFree1 dep
aspect-ratioaspect-ratioshadcn/uiComponentsFree1 dep
avataravatarshadcn/uiComponentsFree1 dep
badgebadgeshadcn/uiComponentsFree1 dep
breadcrumbbreadcrumbshadcn/uiComponentsFree1 dep
buttonbuttonshadcn/uiComponentsFree1 dep
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex