The Quick Exit button provides a fast, 'one-click' way for a user to quickly and safely leave the page.
Use it for content that contains sensitive information that might put the reader at risk of abuse or retaliation, or reveal their intentions to escape from a harmful situation.
The Quick Exit button is red, and always visible at the bottom of the page. It takes the user to a neutral website when clicked.
This component is available on standard, Easy Read and landing pages.
Note: On a landing page, use the Floating banner button to create a quick exit style button.
On this page
- Guidance on Using the Quick Exit Button
- When to use a Quick Exit button
- How to add a Quick Exit button
- See this live on the CMS Components Guide
Guidance on Using the Quick Exit Button
-
Use a neutral, non‑sensitive destination
Choose a page that is safe, generic, and unlikely to raise concern if someone glances at the screen. Common options include:- The homepage (nsw.gov.au)
- A neutral government service page
- A general search engine (only if appropriate for the context)
- Avoid linking to any content that is also sensitive or topic‑related
For example, do not link to another page about support services, safety, or personal matters. - Prioritise speed and minimal cognitive load
The destination should load quickly and look ordinary to a casual observer. - Keep the user experience consistent
Use the same type of neutral destination across related pages to avoid confusion.
When to use a Quick Exit button
Do
- Only available for use on standard and Easy Read pages. For a landing page, use a Floating Button Banner
- Use only on pages containing sensitive information that your reader may need to 'hide' from another person
- The button text should be clear and concise. Limit of 50 characters. Try to limit the button text to 2 to 4 words
Don't
- Don't use the Quick Exit button for general call to actions like newsletter subscriptions
How to add a Quick Exit button on a page
On a standard page
- Select Add Quick Exit button.
- Enter the details for your button banner.
-
URL (mandatory): add a link to another page. A link can be internal path such as /node/add or external.
- Enter <front> to link to nsw.gov.au homepage.
- Enter <nolink> to display link text only.
- Enter <button> to display keyboard-accessible link text only.
- Link text (optional): the button text. Maximum 50 characters. Try to limit the button text to 2 to 4 words such as Quick exit, Leave site, Exit this site and Close this site.
- Contextual information (optional): add clear and concise contextual information to the button that will show on the banner. Use sentence case.
-
URL (mandatory): add a link to another page. A link can be internal path such as /node/add or external.
On a landing page
- Select Add Block
- Select Floating button banner
- Enter the details for your button banner.
-
URL (mandatory): add a link to another page. A link can be internal path such as /node/add or external.
- Enter <front> to link to nsw.gov.au homepage.
- Enter <nolink> to display link text only.
- Enter <button> to display keyboard-accessible link text only.
- Link text (optional): the button text. Maximum 50 characters. Try to limit the button text to 2 to 4 words such as Quick exit, Leave site, Exit this site and Close this site.
-
URL (mandatory): add a link to another page. A link can be internal path such as /node/add or external.
- Tick Clear last entry of browser history checkbox, this ensures browser history is cleared, and link is opened in the same window.
- Enter an optional Contextual information, add clear and concise contextual information to the button that will show on the banner. Use sentence case.
-
Select Alert button as your Button style, this ensures the button displays in red.
Important note: due to a technical limitation, Quick Exit can only clear the user’s most recent page history if they move between pages. This is a known issue and will be monitored for future improvement.See this live on nsw.gov.au
Need any more help?
If you have any questions, or require assistance with anything mentioned in this article, submit a request via the webform.