---
title: Hover Card
description: For sighted users to preview content available behind a link.
component: true
radix:
link: https://www.radix-ui.com/docs/primitives/components/hover-card
api: https://www.radix-ui.com/docs/primitives/components/hover-card#api-reference
---
## Installation
```bash
npx shadcn-ui add hover-card
```
Manual Installation
1. Install the `@radix-ui/react-hover-card` component from radix-ui:
```bash
npm install @radix-ui/react-hover-card
```
2. Copy and paste the following code into your project.
This is the `` primitive. You can place it in a file at
`components/ui/hover-card.tsx`.
## Usage
```tsx
import {
HoverCard,
HoverCardContent,
HoverCardTrigger,
} from "@/components/ui/hover-card"
```
```tsx
Hover
The React Framework – created and maintained by @vercel.
```