Dev Design Library

Tooltip

Hover or focus tooltip with a subtle scale and fade, collision-aware placement, and optional cursor tracking.

Tooltip preview
Library
beUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @beui/tooltip
Files
  • components/motion/tooltip/grace.ts
  • components/motion/tooltip/positioner.tsx
  • components/motion/tooltip/use-position.ts
  • components/motion/tooltip.tsx
  • components/motion/tooltip-surface.tsx
  • lib/hooks/use-dismiss.ts
  • lib/hooks/use-hover-gesture.ts
  • lib/hooks/use-tap-gesture.ts
Source
https://github.com/starc007/ui-components

Categories

More from beUI