# Collapsible section

Collapsible section is a powerful writing component in UpNote. As the name suggests, you can choose to hide some note content and expand them when needed in the collapsible section. This is particularly useful when you want to organize content in a long note. Students who want to review the questions for exams may also find it handy to nest the answers in the collapsible sections.

### On desktops

To insert a collapsible section, use the keyboard shortcut **`Cmd/Ctrl`**  + **`.`** or click the collapsible section icon <img src="https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2FBABfNlQs9Qw6y9LjjL6p%2Fimage.png?alt=media&#x26;token=ce7b72d9-8397-4264-90c0-8441444a86cb" alt="" data-size="line">in the formatting bar.

Now you can enter the title and content in the section.

![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2Fcqik5lgha4Kaed6C3nrQ%2Fimage.png?alt=media\&token=8ce995f0-ded3-4320-a145-c02a69c7d973)

To collapse/expand the section content, click the arrow in front of the section title or use the shortcut **`Cmd/Ctrl`** + `.` to toggle the state.

If you want to collapse all sections in your note, use the shortcut **`Cmd/Ctrl`** + **`Shift`**+ `,`

To expand all, use the shortcut **`Cmd/Ctrl`** + **`Shift`**+ `.`

### On mobile

To insert a collapsible section, tap the collapsible section icon <img src="https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2FBABfNlQs9Qw6y9LjjL6p%2Fimage.png?alt=media&#x26;token=ce7b72d9-8397-4264-90c0-8441444a86cb" alt="" data-size="line">in the formatting bar. You may need to scroll to the right of the formatting bar to see more options.

### Convert existing paragraph into collapsible section <a href="#id-5034" id="id-5034"></a>

If you already have an existing text or paragraph that you want to turn into a collapsible section, simply select the paragraph and tap/click the collapsible icon or use the keyboard shortcut **`Cmd/Ctrl`** + **`.`** on desktop. The paragraph will appear as the content inside the collapsible section. If the first line of the text is formatted as heading, it will be displayed as the section title.

### Handle a collapsible section

If you want to copy or cut a collapsible section and paste it elsewhere, click the <img src="https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2Fe89A4t2lituSkt3YaiDG%2Fimage.png?alt=media&#x26;token=04f33c8c-5ec4-4e9a-80ec-ea8f84fbbcf7" alt="" data-size="line">button in the upper right corner of the section and select the options there.

![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2Ff2qkSveZrWhylElvJfyW%2Fimage.png?alt=media\&token=20a82358-56c8-40f8-b32c-d51fba7b5209)

You may also set a background color for collapsible sections.

![](https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2Fy0B5NN86DAxTEaY4a6mK%2Fimage.png?alt=media\&token=07397ee7-860f-4b13-991f-363e1e805cf8)
