> For the complete documentation index, see [llms.txt](https://docs.strm.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.strm.design/reference/sections/recently-viewed.md).

# Recently viewed

Products the visitor viewed on this device, as compact cards. Hidden until there is something to show.

Products the visitor viewed on this device, as compact cards. Hidden until there is something to show.

**Where:** Any template (Add section)\
**File:** `sections/recently-viewed.liquid`

![Recently viewed](https://2073252647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX7okZwFVjG38blUMwqg%2Fuploads%2Fgit-blob-0ad4cc23dd684d6b3a6d9ae7211a7a4304f7ce81%2Frecently-viewed.png?alt=media)

## Section settings

| Setting              | Type   | Options          | Default         | Notes |
| -------------------- | ------ | ---------------- | --------------- | ----- |
| **Heading**          | Text   |                  | Recently viewed |       |
| **Maximum products** | Slider | 2–12, steps of 1 | 6               |       |

> Shows products the visitor viewed on this device. The list is stored in their browser.

| Setting            | Type         | Options             | Default  | Notes |
| ------------------ | ------------ | ------------------- | -------- | ----- |
| **Color scheme**   | Color scheme |                     | Scheme 1 |       |
| **Top padding**    | Slider       | 0–160px, steps of 4 | 48px     |       |
| **Bottom padding** | Slider       | 0–160px, steps of 4 | 48px     |       |

## Presets

Add it from **Add section** as: **Recently viewed**.
