# Behavior & layouts

> How the Tapback bar sits on the page and counts taps: floating, inline, stage and ambient layouts, corner, direction, reveal, container, the dial, counting modes, tap cooldown and the mute control.

Everything on this page is set in the console under **Customize → Behavior**, previews live as you change it, and reaches every page without a code change. An agent sets the same options with the `set_appearance` and `set_mode` [MCP tools](https://docs.tapback.party/mcp/#tool-reference).

## Layouts

| Layout | Console label | What it does |
| --- | --- | --- |
| `float` | floating bar | Docks in a corner of the viewport and rides along as the reader scrolls. The default. One per page. |
| `inline` | inline | Sits in the page flow where the `<tapback-bar>` element is, with small 15px icons. For lists of posts and anywhere the bar belongs to a block of content. |
| `stage` | stage | A big translucent bar centered along the bottom, with reactions falling across the whole page. Made for livestream overlays, talks and OBS browser sources. |
| `ambient` | ambient | No bar. Your own buttons fire reactions through [the JS API](https://docs.tapback.party/js-api/), and falls, counts and limits keep working. Plus and Pro; see [ambient mode](https://docs.tapback.party/ambient/). |

The console sets the default layout for every page. A page overrides it with `layout` on a `<tapback-bar>`, or `data-layout` on the loader tag for every bar on that page. Only the first `float` bar on a page docks; a second one renders inline, and takes the corner if the first one leaves the page or is hidden. A floating bar inside something your page hides (`display: none` on an ancestor, a closed `<details>`) leaves the corner and closes its connection, and comes back when that part of the page shows again. That's how routers that keep the previous page mounted but hidden, such as Next.js with `cacheComponents`, hand the corner to the page the reader is on. A page asking for `ambient` gets it only when the Tapbar's console layout is ambient — otherwise it gets the floating bar.

## Placement (floating bar)

These apply to the floating bar; the console greys them out for the other layouts.

- **Corner** — bottom right (the default), bottom left, top right or top left.
- **Direction** — **row** (horizontal), **rail** (vertical) or **fan**, which spreads the reactions along an arc.
- **Reveal** — **always** shows the bar; **on hover** keeps it folded into its anchor until a hover (or a tap, on touch); **peek** tucks it to a slim tab at the screen edge that slides out on hover, or the moment someone else reacts.
- **Container** — **none**, **card** (a solid panel) or **glass** (translucent and blurred). Not available with **fan**.

Insets, sizes and the container's look are CSS variables — see [Theming](https://docs.tapback.party/theming/).

## The tapback dial

Under **Tapping**, the dial switch adds a press-and-hold gesture: hold any reaction and the whole set fans out under the finger; slide to one and let go to react. Quick taps work as before. Not available on inline or ambient layouts.

## Counting modes

**Taps per reader** decides what a tap means:

| Mode | Console label | Behavior |
| --- | --- | --- |
| `aggregate` | tap freely | Readers can tap each reaction as many times as they like, up to the per-reaction cap. The default. |
| `toggle` | one, undoable | One reaction per reader per kind; tapping again removes it. |
| `once` | one, final | One reaction per reader per kind, and it can't be taken back. |

**Tap cooldown** is the pause after a tap before the same reader can tap again: 1 second by default, adjustable from 0 (rapid-fire) to 3 seconds. The per-reader rate limits under **Set up → Sites & limits** still bound a fast tapper at 0 — see [Plans & limits](https://docs.tapback.party/plans/#per-reader-rate-limits).

## Falls

The reactions that fall down the page for everyone watching have their own controls: on or off, direction (down, up, left or right), speed, a straight or weaving path, and the region — the full page, or a strip on the right or left side. Ambient and stage layouts fall across the whole page.

## Mute

By default the bar carries a mute control (a bell). Muting stops the falls and disables the reaction buttons, and the browser remembers it for every bar on your site's origin. **Mute control → hidden** removes the bell for a page that offers its own switch; a reader's remembered mute still applies, so that switch has to offer the way back. [The JS API](https://docs.tapback.party/js-api/#mute) covers driving mute yourself, and the `muted` attribute mutes one bar without touching the remembered choice.
