> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: About Multi-State Boxes

## Article: About Multi-State Boxes

## Article Link: https://dev.wix.com/docs/develop-websites/articles/wix-editor-elements/other-elements/multi-state-boxes/about-multi-state-boxes.md

## Article Content:

# Velo: About Multi-State Boxes

Use multi-state boxes to display different content for different situations. For example, you can:

- Show different site content if a shopping cart is empty or full.
- Display an error state when something goes wrong.
- Show a preloader while a page is loading.
- Switch between "sale," "new," and "out of stock" badges for your products.
- Show different site content depending on whether there's an upcoming event.

<div style="text-align:left">

<img src="https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/0ca9e8ba-16ed-4cd8-a1e1-58d01c4420f7/2019/07/05/a6e724e6-f387-474b-b378-04ffb929ad0c/754423c6-9895-4761-b565-c173fb3d51c3.png" style="max-width:30vw" />

</div>

You can also use multi-state boxes to let site visitors easily navigate multiple displays. For example, visitors can:

- Navigate what appear to be multiple tabs.
- Switch between a brief description and a detailed block of text.

<div style="text-align:left">

<img src="https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/0ca9e8ba-16ed-4cd8-a1e1-58d01c4420f7/2019/07/08/45fe8076-fbd9-429d-940a-4fe0e91859ba/51430c60-e12d-4c63-8b6d-50f5dc003c07.png" style="max-width:30vw" />

</div>

Multi-state boxes generally contain two or more states, each with different content. A specific state is displayed either because a particular condition exists (an empty shopping cart), or because a site visitor chose to navigate to that state (clicked a button to read expanded text).

 <blockquote class="tip">

**Tip:**
Changing the box state might [impact your page layout](https://dev.wix.com/docs/develop-websites/articles/wix-editor-elements/formatting-layout/how-page-layout-is-affected-when-elements-change-size.md).

</blockquote>

## See also

- Learn how to [set up your multi-state box](https://dev.wix.com/docs/develop-websites/articles/wix-editor-elements/other-elements/multi-state-boxes/setting-up-your-multi-state-box.md).
- Learn how to [work with your multi-state box and code](https://dev.wix.com/docs/develop-websites/articles/wix-editor-elements/other-elements/multi-state-boxes/working-with-multi-state-boxes-and-code.md).