# Popup — Detent

> A popup that opens around your finger. The current choice stays where you pressed it, so you slide to the next one and let go.

Canonical: https://detentui.com/components/popup
Last updated: 2026-11-10

## About

A popup that opens around your finger. The current choice stays where you pressed it, so you slide to the next one and let go.

## Details

- A quick tap keeps it open, for people who click. Press and slide is the same control, one gesture shorter.
- Slide well off to the side and let go to change your mind.
- The menu moves itself to stay on screen, and the plate still starts on the current choice.
- Made for short lists: everything shows at once, with no scrolling.

## Keyboard shortcuts

| Keys | Action |
| --- | --- |
| Arrows | Open it, then move through the choices |
| Enter | Choose |
| Esc | Close without changing |

## Install

```bash
npx shadcn add https://detentui.com/r/popup
```

## Related
- [All components](https://detentui.com/components)
- [Pro](https://detentui.com/pro)
