Tray Embedded / Core Topics / Managing CSS / Your App CSS

Your App CSS


When building an application based on Tray Embedded, it is important to remember that there are basically two UI components that you will need to configure and style with CSS:

  1. Your application interface which presents the available Solutions to your End Users, including the option to click and configure a Solution Instance for their own use. This is not a component and so is entirely controlled by you, using tags and custom fields to assist as explained below.

  2. The Configuration Wizard which is triggered when the End User clicks to configure a Solution Instance. This is a component and instructions for adjusting the Config Wizard CSS are found in the next page in this section.

Application UI mockup

The following is a simple mockup of how your application interface might look in terms of presenting your Solutions to your End Users:


Using tags and custom fields to manage CSS and icon urls

In order to assist you in filtering Solutions and creating classes for box styling and display of icons, you can use Tags and Custom Fields in the Solution Editor:


Then your app can use a GraphQL (see our intro to Tray Embedded GraphQL) List Solutions query such as:

query {
viewer {
solutions (criteria: {tags: "two-service"}){
edges {
node {
customFields {
pageInfo {

This will then return results such as:

"data": {
"viewer": {
"solutions": {
"edges": [
"node": {
"id": "e2ed06d9-f56c-4eda-a1dd-218ae63a30b6",
"title": "Salesforce Accounts > Asana Tasks",
"description": "Set Salesforce Tasks to sync to Asana",
"tags": [
"customFields": [
"key": "icon-url",
"value": "\\"\\""
"cursor": "ZTJlZDA2ZDktZjU2Yy00ZWRhLWExZGQtMjE4YWU2M2EzMGI2"
"pageInfo": {
"endCursor": "ZTJlZDA2ZDktZjU2Yy00ZWRhLWExZGQtMjE4YWU2M2EzMGI2",
"hasNextPage": false