Skip to main content

Default Types

The SDK comes with many default types that you can use.

Type nameNumberDescription
"message"0A text message with one or multiple lines
"message_box"1A text message with background customization. This type can be used to avoid line breaks creating new "message" types
"image"2An image
"group_image"3A group of one or more images
"video"6A video preview
"space"7A blank space. This types normally devide all between the other types and the other types can be moved to their position with a drag and drop action.
"large_space"8A large blank space. This is normally used in the end of the document to add some padding and to catch the click of the user in document and move to the last editable type.
"add_button"9A button with an add action.
"check_item"10A message with a checkbox.
"title"11The title of a document
"h1"12H1 text
"h2"13H2 text
"h3"14H3 text
"h4"15H4 text
"unordered_list_item"16A list item without order. Draws as a message with a dot of dash in the start of the text.

Like explained in the previous section, each type needs to be mapped to a StoryStepDrawer. The next section explain each default drawer that is provided by the default types.