# Reference

> Every element, attribute, condition, method, event and filter of Smootify 2.0.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/astro/reference  
Updated: 2026-10-21

Everything Smootify 2.0 reads in the HTML of a page, and everything its JavaScript API offers: look an element or an attribute up here when a guide names it.

| Page | What it lists |
|---|---|
| [Elements](https://www.smootify.io/docs/astro/reference/elements) | 113 elements and 48 templates, where each one goes and what it needs |
| [Attributes](https://www.smootify.io/docs/astro/reference/attributes) | 72 groups of attribute values: what Smootify writes into an element |
| [Conditions](https://www.smootify.io/docs/astro/reference/conditions) | 23 groups of conditions: what Smootify shows or hides |
| [JavaScript API](https://www.smootify.io/docs/astro/reference/api) | 41 methods, 25 events and 4 filters of `window.Smootify` |
| [Options](https://www.smootify.io/docs/astro/reference/options) | `SmootifyUserOptions`, labels and page hooks |
| [State classes](https://www.smootify.io/docs/astro/reference/state-classes) | the classes Smootify toggles on products, variants and the cart |
| [Generic build](https://www.smootify.io/docs/astro/reference/generic-build) | the HTML the generic build reads: sliders, tabs, popovers, forms, lightbox, the seed |
| [Metafield types](https://www.smootify.io/docs/astro/reference/metafield-types) | the Shopify metafield types a `[metafield]` element renders |
| [Cart attributes](https://www.smootify.io/docs/astro/reference/cart-attributes) | what the fields of your forms save on the cart line and on the order |
| [AJAX API](https://www.smootify.io/docs/astro/reference/ajax-api) | the Shopify theme endpoints Smootify answers |
