Apps UI Guidelines
Follow these guidelines for any interface you are creating for your Rocket.Chat App using the Apps Engine.
There are two surfaces types:
- 1.Simple: Simple surface types are examples like menus that can contain only the predefined list of menu items
- 2.Complex: Examples like contextual bars and modals which can use all available UiKit components to build the intended user experience.
The user menu contains items specific to the user such as status and preferences. Every item on this menu should relate to a user.
- Add only user-specific items to this menu

User menu visual guide
- This menu opens up a contextual bar and not a modal.
- Items on this menu must relate to or affect the current room or its context in some way.
- Do not include icons or use emojis in item labels.

Room kebab menu UI guide
The message kebab menu can be seen by the right of a message when hovered upon on a Desktop or long-pressed on a Mobile device.
- The message kebab menu is reserved exclusively for items that affect the selected message.
- Only Rocket.Chat core actions can use icons.
- Do not include icons or emoji anywhere inside the item label.

Message kebab menu UI guide
- Make messages very clear, brief, and not long.
- Do use an emoji if only they help get the intended message across.
- Do not send messages on a user's behalf.
- Do not over-communicate or use emojis excessively.

Chat message UI Guide
Slash commands are usually the simplest ways users can interact with installed apps.
- Slash command descriptions should appear by the side of the command when typed in the message composer.
- Commands must have hyphens between words and include a description.

Slash commands UI Guide
- All apps using a slash command must have a
/help
command showing the possibilities of the app and it's commands
Apps can utilize the contextual bar surface to offer information and actions to the user.
- Contextual bar titles must use sentence case capitalization eg:
Google Calendar settings
notGoogle Calendar Settings.
- Do not use images, such as app icons, inside the contextual bar header.
- Do not use titled case in the contextual bar header.
- Do use sentence case in contextual bar header.

Contextual bar UI Guide
Apps utilize modal dialogs to present information and actions to the user. Use Contextual bars for more complex and involved interactions.
- Do not use modals without the app name in the tagline.
- Do not use images, such as app icons, inside the modal header.
- Do use the app name in the modal tagline.
- Do use glyph icons or simply no icons at all.

Modals UI Guide
If your app has an associated bot user, the username of that user must be identical to the app name except with
-
replacing any spaces in the app name.Eg if the app is Google Calendar app, the bot username must be
@google-calendar
Not @google-calendar.bot
or any other variation.Last modified 1d ago