---
title: Preview Card
description: A popup that appears when a link is hovered, showing a preview for sighted users.
author:
name: imskyleen
url: https://github.com/imskyleen
---
## Installation
## Usage
```tsx
Hover me
Preview card content
```
## Props
### Animate UI Props
#### PreviewCardContent
",
required: false,
},
popupProps: {
description: 'The props to pass to the popup component.',
type: 'typeof PopoverPrimitive.Popup',
required: false,
},
transition: {
description: 'The transition to use for the popover.',
type: 'Transition',
required: false,
default: '{ type: "spring", stiffness: 300, damping: 25 }',
},
}}
/>
## Credits
- We use [Base UI](https://base-ui.com/react/components/preview-card) for the preview card component.
- We take our inspiration from [Shadcn UI](https://ui.shadcn.com/docs/components/preview-card) for the preview card style.