# Region wheel — Detent

> A drum of server regions you can flick. The Earth turns with it, in the sunlight falling on it right now, with a route from your visitor to the region and the latency beside it.

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

## About

A drum of server regions you can flick. The Earth turns with it, in the sunlight falling on it right now, with a route from your visitor to the region and the latency beside it.

## Details

- It opens on the fastest region and says how much slower any other one is.
- The drum carries on under its own weight, settles on a stop, and stretches past either end.
- Latency is estimated from distance until you pass your own numbers through `latency`.
- Pass your visitor's position through `from`; without it, their time zone gives a rough guess.
- Works from the keyboard with the arrow keys, and with reduced motion it moves straight to each stop.

## Install

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

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