Card-based interfaces

Card-based Add-ons are add-ons that use the Apps Script Card service to create user interfaces out of cards composed of widget collections. Each card represents a particular 'page' of your add-on's UI, and navigating to a new card is usually just a matter of creating that card and pushing it onto an internal card stack.

Card-based interfaces have the following benefits:

  • Card-based interfaces work on both desktop and mobile devices, but you only need to define the interface once.
  • No knowledge of HTML or CSS is needed to create card-based interfaces.
  • Cards and widgets are automatically styled to work well with the G Suite applications they extend.

Creating card-based interfaces

When building card-based add-ons, it's important to understand certain concepts and design patterns. The following guides provide the information you need to build effective card-based add-ons: