Docs

Component librariesBasics V2

Card

Show information or drive action with inline cards.

Overview

The card component is a versatile UI element that can be used to display information, show promotions, or important messages to users. You can use the card component out of the box as a built-in component.

Installation

To integrate the card component into your application, follow the steps described in the library installation guide.

Workflow properties

When using the card component in a workflow, you can define the following properties:

NameTypeNotes
TitlestringThe title of the card.
BodystringThe body of the card. Supports HTML.
Primary buttonactionThe primary button, see Action for all options. When empty the button is not rendered.
Secondary buttonactionThe secondary button, see Action for all options. When empty the button is not rendered.
WidthstringSupports any valid CSS width value (number values are treated as pixels). Leave empty for auto width.
DismissiblebooleanShows a close button linked to the close exit node. Default is false.
Page targeting---What page the card should be shown on. Learn more
Slot---Used to render the card inside your application. Without a slot defined, the card will not be rendered. Learn more

Exit nodes:

  • Continue
  • Close

Tour properties

When using the card component in a tour, you can define additional properties to control the tour flow.

NameTypeNotes
TitlestringThe title of the card.
BodystringThe body of the card. Supports HTML.
Primary buttonactionThe primary button, see Action for all options. When empty the button is not rendered.
Secondary buttonactionThe secondary button, see Action for all options. When empty the button is not rendered.
WidthstringSupports any valid CSS width value (number values are treated as pixels). Leave empty for auto width.
Hide progressbooleanHides the tour progress indicator from the card. Default is false.
DismissiblebooleanShows a close button linked to the cancel exit node of the Tour block. Default is false.
Page targeting---What page the card should be shown on. Learn more
Wait---Used to define what interaction should trigger the next step. Learn more
Slot---Used to render the card inside your application. Without a slot defined, the card will not be rendered. Learn more

Exit nodes:

  • Continue: Proceeds to the next step in the tour
  • Previous: Goes back to the previous step in the tour
  • Cancel: Cancels the entire tour

Last updated on

On this page