# Flex Wrap

"Flex-wrap" is like deciding if a bunch of boxes should stay on one shelf or if they can spill over onto the next shelf if needed.

Dropdown options:&#x20;

* nowrap (default)
* wrap&#x20;
* wrap-reverse

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FYe0zYKtTyBU5cQAsgkk9%2Fflexbox%20settings%20-%20flex%20wrap.png?alt=media&#x26;token=4ed2ddaa-5537-438c-b6ad-a36e9b66b7a8" alt=""><figcaption></figcaption></figure>

Sets whether items are forced into one line or can wrap onto multiple lines. If wrapping is allowed it sets the direction that the lines are stacked.&#x20;

* ‘Nowrap’ is the default, this means that the items must fit onto one line no matter what, even if they get squished.&#x20;
* If you allow wrapping it tells the system that if there is not enough space on one line, then its okay to move into the next line to keep everything organised and not squished.
* The other options, ‘wrap’ (forward) and ‘wrap-reverse’ (back)  tells the system which direction to organize the items.

[Try a demo](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap#try_it)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpwith.salesorder.com/trade-acceleration-portal-2.0/tap-ux/blocks/block-configurations/flex-box-settings/flex-wrap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
