# Call to action — Detent

> The closing call to action: one line to want it, an email to start with, and the queue it promises to clear, resolving beside it.

Canonical: https://detentui.com/blocks/cta
Last updated: 2026-11-10

## About

The closing call to action: one line to want it, an email to start with, and the queue it promises to clear, resolving beside it.

## Details

- Tickets rise through the assistant’s line and turn resolved as they cross: answered with how long it took, refunded, or handed to a person. Today’s count ticks over with each one.
- The queue is drawn twice, waiting below the line and resolved above it, each clipped to its side and moved by one transform. A ticket changes as it crosses, with no state changing at all, and it pauses off screen.
- The button folds into a spinner, then the whole field becomes where to look next, in the same place. A mistyped email shakes the field and says so under it.
- The form, its confirmation and the line under it each hold their place, so sending never moves the page.
- Below 896px the queue sits under the form. With reduced motion it holds still.

## Install

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

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