Button list

The button list is a possible respond option of the chatbot to offer the user information to his question. The bot can provide the user several links.

It is based on the design of the CAKE product tile.

example button list


General information#

  • The button list is divided into a content and button area.
  • The content area can contain images, headlines and text in various styles. This area provides more detailed information on a specific topic.
  • The button area contains links. In this area, the user can take action and response to the given information.
  • The button list offers two interaction forms:
    1. By clicking a link the user leaves the conversation and a new tab is opened.
    2. By clicking a link the user stays in the chat window and the bot offers him a more detailed answers in a new respond element (e.g. quick replies, card, image, etc.).

Usage#

  • Choose a descriptive button text, so the user knows what to expect behind the link.
  • The button text should be single-line or a maximum of two lines.

Overall styling#

  • The text-style is basic.
  • The line-height is 120%.
  • The default text-color is gray-darker.
  • The default link is our link positive one.
  • The text-style is basic.
  • The line-height is 120%.
  • The default text-color is gray-darker.
  • The default link-color is brand-primary-base and has text decoration underline.
  • The components has rounded corners of 2px.
  • The icon is arrow-right and the color is brand-primary-base.
  • The divider height is 1px and the color is gray-lighter.
  • Every state uses the shadow-default.
  • The height of the button list depends on the content in the text box and the additional links below.
  • All widths are fixed and aligned to the layout grid of the breakpoints.

Spacing & measurements#

TypesAttributesPreview
Overall padding
content area
16pxpadding content
Horizontal spacingpadding: 16px
text to icon: 8px
horizontal-spacing
Vertical spacingpadding: 8pxvertical-spacing
Icon size16 x 16pxicon-size

What can be modified?#

  • Override the text and modify the text-style (regular, bold, italic text).
  • Adjust the height.
  • Add or delete the amount of links.
  • Add ordered list or line break list in the text box area.

Change log#

2.0.0 Chat - 2021-07-22#

Highlights#

  • Sketch, Doc: "Button list" | New layer-styles, text-styles and color-variables settings

Changed#

  • Doc: "Button list" | Clean up the documentation for the right structure and sentence case

1.0.2 - 2021-01-26#

Fix#

  • Doc: "Button list" | Fixed links

1.0.1 - 2020-09-24#

Fixed#

  • "Button list" | Fixed link: broken link to cake web