Introduction

This document outlines Zendesk’s design recommendations for sidebar apps to help developers create a consistent experience with the rest of Zendesk’s products. This document is written whether or not you are using Garden, Zendesk’s design system, as many of these principles apply even if you are using your own design system or UI components.

Where sidebar apps live

Sidebar apps appear in Chat view, next to the conversation agents have with visitors.

Anatomy of a sidebar app

The sidebar app you develop will be wrapped inside a prebuilt container that provides additional information and functionality to agents. While you cannot change this design, it’s important to have the context of how it looks and works:

  1. Expand and collapse toggle - allows agents to minimize the app when it’s not needed.

  2. App name - specified in the manifest file. Learn more about the manifest.

  3. App icon - uses the icon provided in the /assets folder of your app. Learn more about app assets.

  4. Content area - where the app you develop will appear.

Width:

  • 280px (including container)
  • 258px (content area only)

Height: Dynamic

Dos and Don'ts

1. Don’t use primary button styles when your app first loads

Your app will likely live in a workspace in context of many other things an agent will interact with. Given the broader context, it’s important to reduce the amount of distraction to an agent to help them keep focus on their task.

The Zendesk interface uses different styles of buttons depending on the circumstance. Here is a quick overview of how you can use the button styles within your app:

  • Primary buttons are for the most important action in a given view. For apps, only use these after an agent has interacted with your app.

  • Secondary buttons are for secondary actions, and are an alternative you can use for buttons shown when the app initially loads.

  • Tertiary buttons are for repetitive or de-emphasised actions in a given view.

2. Tailor your app’s height where it makes sense

As users interact with your app, the amount of data and information they’ll be subject to will change.

  • If your app is dynamic in nature, consider its height in different states and avoid unnecessary empty space.

  • Avoid drastic changes in height, as this can be a disorientating experience for agents.

  • Only change the height of your app when an agent does an action, such as signing in to an account, or conducting a search.

3. Be mindful of the amount of data displayed at once

Many developers use apps to surface information that provides additional context, resolves an issue or answers a question for the agent. A table is a great way to display data in a structured way and the following guidelines will help you to create a focussed experience for agents:

  • Use a table with no more than two columns to display the most relevant information to users.

  • Avoid showing many more than 5 rows of information to keep the height of your app from becoming excessively long.

  • Use pagination to let users parse through a larger set of results. Garden has Pagination components well suited to this scenario.

  • Include search functionality if you’re working with a large set of data, to help agents find what they’re looking for as quickly as possible.

  • Where it makes sense, use tabs or accordions to separate content in a way that helps manage how much is shown at a time.

Further reading