---
title: "Adding a Content expander on a page"
canonical: "https://nsw-gov-au-help-hub.refined.site/space/HHK/601752242/Adding%20a%20Content%20expander%20on%20a%20page"
format: markdown
---
The Content expander is designed to save space by hiding content that is only relevant to a number of users. It takes up less visual prominence than an accordion. There should be only one used at a time.

> ℹ️ ### Do not hide essential content
> ℹ️ 
> ℹ️ Avoid using the expander to display essential information, as some of the audience may not understand how the expander works and could miss the hidden content.

---

## When to use the Content expander

### Do

- Use the expander on standard content pages and landing pages.
- Use the expander when you need to add more information, that is not essential to the audience understanding of the overall page.
- Limit of 1 expander per section of content.
- Use a descriptive heading to assist the audience in deciding what content is available in the expander.
  - When the expander is closed (chevron down), the heading text will be preceded with the word 'Show'.
  - When the expander is open (chevron up), the heading text will be preceded with the word 'Hide'.
  - 'Show' and 'Hide' are by design and cannot be amended.
  - Adjust your heading case to accommodate the design.

### Don't

- Do not use the Content expander for important content.
- Do not use for very short content, use lists or paragraphs instead.
- Do not stack expanders on top of each other. Use an accordion instead.

---

## Adding a Content expander on a page

### Landing page

A Content expander can be added to a landing page by selecting **Content expander** under the list of [content blocks](https://nsw-gov-au-help-hub.refined.site/space/HHK/603750486/Available+components+for+Landing+pages).

### Standard page

A Content expander can be added to a standard page by selecting **Content expander** under the list of [blocks](https://nsw-gov-au-help-hub.refined.site/space/HHK/603717746/Available+components+for+Standard+pages).

> ℹ️ ### See this live on [http://nsw.gov.au](http://nsw.gov.au) 
> ℹ️ 
> ℹ️ Visit [Content expander](https://www.nsw.gov.au/onecx-program/content-guidance/cms-components-guide/show/hide-content-expander) to see how this works on a live page.
> ℹ️ 
> ℹ️ You can also see live examples of how agencies have applied the component to their content below:
> ℹ️ 
> ℹ️ - [Southern NSW Local Health District: Volunteering with Southern NSW LHD](https://www.nsw.gov.au/departments-and-agencies/snswlhd/community-engagement/volunteering#toc-how-to-apply-to-volunteer)
> ℹ️ - [NSW Health: Influenza (flu)](https://www.nsw.gov.au/health/influenza)
> ℹ️ - [Transport for NSW: Places to visit in and around Armidale NSW](https://www.nsw.gov.au/visiting-and-exploring-nsw/walks-near-me/hidden-gems/armidale#toc-the-bicentennial-arboretum)