# logout-form

> Clears the customer session and follows Shopify's logout url when there is one.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/logout-form  
Updated: 2026-10-13

## Where it can go

- **Anywhere** on the page.
- **Must contain** `form`.
- **Out of place,** Smootify removes it from the page: no form.

## What it requires

Nothing beyond Smootify: it works on every plan.

## Fields in the form

It reads no field of yours: the submit logs out and follows Shopify’s logout url.

## Loading

Its code loads only on pages that have `logout-form`.
