Tooltip

Component
View in Storybook

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it with optional glassy variant.

Installation
Install this component using the shadcn CLI with your preferred package manager
pnpm dlx shadcn@latest add @crenspire/tooltip
Usage
Example code for using this component
Props
Component props and variants

This component supports the following variants:

  • default - Standard styling
  • glass - Glassmorphism effect (default)