> For the complete documentation index, see [llms.txt](https://docs.carpose.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carpose.de/components/08_wishlist.md).

# Wishlist

{% hint style="warning" %}
The Wishlist is a **feature of the** [**Vehicle Search Form**](/vehicle-search-modules/01_vehicle-search-form.md), not a standalone embeddable component. There is no `data-carpose-component="wishlist"` — it is enabled with the `data-wishlist` attribute on the search form.
{% endhint %}

## Introduction

When wishlist functionality is enabled, visitors can save vehicles to a favourites list that persists between sessions (stored in the browser's `localStorage`). A floating wishlist button gives access to a slide-out drawer of saved vehicles, from which the visitor can send an inquiry, remove vehicles, or open a vehicle's detail page.

## Enabling the Wishlist

```html
<div
  data-carpose-component="vehicle-search-form"
  data-api-key="your-api-key"
  data-wishlist="true"
></div>
```

## Behavior

* A wishlist button appears on each vehicle card, and a floating wishlist button gives access to the saved-vehicles drawer
* Wishlist state persists across sessions via `localStorage`
* Visitors can send inquiries for multiple saved vehicles at once
* Success messages are shown when adding or removing vehicles

## Notes

* The wishlist is stored per-browser; no account is required
* See also [Vehicle Comparison](/components/09_vehicle-comparison.md), which can be enabled alongside the wishlist
* For the full list of search-form options, see the [Vehicle Search Form](/vehicle-search-modules/01_vehicle-search-form.md)
