FlwKit
Editor

Blocks

Every block type currently available in the FlwKit dashboard editor.

Blocks are arranged top-to-bottom inside a screen. In the current dashboard editor, blocks are grouped as Content, Interaction, Permissions, and Utility.

This page documents the blocks currently available in the dashboard block picker. Legacy block types are omitted.


Content blocks

Primary title with optional subtitle.

PropertyTypeDescription
type"header"Block type.
titlestringMain heading text.
subtitlestringOptional subheading text.
align"left" | "center" | "right"Text alignment.
colorstringTitle color.
opacitynumberTitle opacity (0-100).
fontWeight"normal" | "bold"Title weight.
fontStyle"normal" | "italic"Title style.
fontSizenumberTitle size (px).
spacingnumberLetter spacing (px).
subtitleColorstringSubtitle color.
subtitleOpacitynumberSubtitle opacity (0-100).
subtitleFontSizenumberSubtitle size (px).
subtitleAlign"left" | "center" | "right"Subtitle alignment.
subtitleSpacingnumberSubtitle letter spacing (px).
{
  "type": "header",
  "title": "Welcome",
  "subtitle": "Let’s personalize your onboarding",
  "align": "left"
}

Description

Body copy block.

PropertyTypeDescription
type"description"Block type.
textstringDescription text.
align"left" | "center" | "right"Text alignment.
colorstringText color.
opacitynumberText opacity (0-100).
fontWeight"normal" | "bold"Text weight.
fontStyle"normal" | "italic"Text style.
fontSizenumberText size (px).
spacingnumberLetter spacing (px).

Media

Image/video block.

PropertyTypeDescription
type"media"Block type.
assetIdstringUploaded asset ID.
urlstringExternal media URL.
aspect"square" | "wide" | "tall"Aspect preset.
align"left" | "center" | "right"Horizontal alignment.
widthnumber | "auto"Width.
heightnumberHeight (px).
padding{ vertical?: number, horizontal?: number }Internal spacing.
margin{ top?: number, bottom?: number, left?: number, right?: number }External spacing.
borderRadiusnumberCorner radius (px).

Benefits List

List of short benefit items with icons.

PropertyTypeDescription
type"benefits_list"Block type.
items{ text: string }[]Benefit rows.
iconstringIcon name.
iconColorstringIcon color.
iconSizenumberIcon size (px).
colorstringText color.
opacitynumberText opacity (0-100).
fontWeight"normal" | "bold"Text weight.
fontStyle"normal" | "italic"Text style.
fontSizenumberText size (px).
align"left" | "center" | "right"Alignment.
spacingnumberLetter spacing (px).

Testimonial

Quote/social proof card.

PropertyTypeDescription
type"testimonial"Block type.
quotestringQuote text.
authorstringAuthor name.
metastringExtra author context.
colorstringText color.
opacitynumberText opacity (0-100).
fontWeight"normal" | "bold"Text weight.
fontStyle"normal" | "italic"Text style.
fontSizenumberText size (px).
align"left" | "center" | "right"Alignment.
spacingnumberLetter spacing (px).
backgroundColorstringBackground color.
backgroundOpacitynumberBackground opacity (0-100).
widthnumber | stringWidth.
heightnumberHeight (px).
borderColorstringBorder color.
borderOpacitynumberBorder opacity (0-100).
borderWidthnumberBorder width (px).
borderRadiusnumberCorner radius (px).

Comparison Table

Side-by-side before/after style comparison.

PropertyTypeDescription
type"comparison_table"Block type.
headlinestringTitle text.
leftLabelstringLeft column header.
rightLabelstringRight column header.
rowsComparisonTableRow[]Table rows.

ComparisonTableRow

PropertyTypeDescription
featurestringRow label.
leftValuestringLeft value.
rightValuestringRight value.
highlightedbooleanHighlight row visually.

Interaction blocks

CTA

Primary/secondary action buttons.

PropertyTypeDescription
type"cta"Block type.
primary{ label: string, action: CTAAction }Main button.
secondary{ label: string, action: CTAAction }Optional secondary button.
stickybooleanStick to bottom.
colorstringText color.
opacitynumberText opacity (0-100).
fontWeight"normal" | "bold"Text weight.
fontStyle"normal" | "italic"Text style.
fontSizenumberText size (px).
align"left" | "center" | "right"Alignment.
spacingnumberLetter spacing (px).
backgroundColorstringButton background.
backgroundOpacitynumberBackground opacity (0-100).
widthnumber | "auto"Width.
heightnumberHeight (px).
borderColorstringBorder color.
borderOpacitynumberBorder opacity (0-100).
borderWidthnumberBorder width (px).
borderRadiusnumberCorner radius (px).

CTAAction = "next" | "back" | "skip" | "close" | "complete"


Choice

Selectable options block.

PropertyTypeDescription
type"choice"Block type.
keystringAnswer key.
mode"single" | "multi"Selection mode.
style"list" | "cards"Display style.
optionsChoiceOption[]Options list.
requiredbooleanRequire answer before continue.
colorstringText color.
opacitynumberText opacity (0-100).
fontWeight"normal" | "bold"Text weight.
fontStyle"normal" | "italic"Text style.
fontSizenumberText size (px).
align"left" | "center" | "right"Alignment.
spacingnumberLetter spacing (px).
backgroundColorstringOption background color.
backgroundOpacitynumberOption background opacity (0-100).
activeBackgroundColorstringActive option background color.
activeBackgroundOpacitynumberActive background opacity (0-100).
widthnumber | "auto"Option width.
heightnumberOption height (px).
borderColorstringBorder color.
borderOpacitynumberBorder opacity (0-100).
borderWidthnumberBorder width (px).
borderRadiusnumberCorner radius (px).

ChoiceOption

PropertyTypeDescription
labelstringVisible option text.
valuestringStored option value.
emojistringOptional emoji prefix.
actionCTAActionOptional per-option action.

Text Input

Single-line text answer block.

PropertyTypeDescription
type"text_input"Block type.
keystringAnswer key.
labelstringOptional field label.
placeholderstringPlaceholder text.
requiredbooleanRequire value before continue.
maxLengthnumberMaximum length.
colorstringText color.
opacitynumberText opacity (0-100).
fontWeight"normal" | "bold"Text weight.
fontStyle"normal" | "italic"Text style.
fontSizenumberText size (px).
align"left" | "center" | "right"Alignment.
spacingnumberLetter spacing (px).
backgroundColorstringInput background color.
backgroundOpacitynumberInput background opacity (0-100).
widthnumber | "auto"Input width.
heightnumberInput height (px).
borderColorstringBorder color.
borderOpacitynumberBorder opacity (0-100).
borderWidthnumberBorder width (px).
borderRadiusnumberCorner radius (px).

Swipe Cards

Stacked swipeable opinion cards.

PropertyTypeDescription
type"swipe_cards"Block type.
headlinestringBlock title.
cardsSwipeCard[]Cards to swipe through.
onComplete"next_screen" | "complete_flow"Action when all cards are processed.

SwipeCard

PropertyTypeDescription
idstringCard ID.
textstringCard text.
emojistringOptional emoji.

Permission blocks

FlwKit currently supports these permission block variants:

  • notification_permission
  • health_permission
  • tracking_permission
  • camera_permission
  • location_permission
  • microphone_permission
  • photo_library_permission

All use the same schema:

PropertyTypeDescription
typePermission block typeOne of the variants above.
iconstringIcon name shown in the block.
headlinestringPermission prompt title.
descriptionstringPermission explanation text.
ctaLabelstringPrimary button label.
skipLabelstringSecondary button label.
onGranted"next_screen" | "complete_flow"Action if granted.
onDenied"next_screen" | "complete_flow"Action if denied.
{
  "type": "tracking_permission",
  "icon": "chart",
  "headline": "Help us improve your experience",
  "description": "We use anonymous data to show more relevant content.",
  "ctaLabel": "Continue →",
  "skipLabel": "Not now",
  "onGranted": "next_screen",
  "onDenied": "next_screen"
}

Utility blocks

Progress Bar

Shows progression through the flow.

PropertyTypeDescription
type"progress_bar"Block type.
backgroundColorstringTrack color.
backgroundOpacitynumberTrack opacity (0-100).
widthnumber | stringWidth.
heightnumberHeight (px).
borderColorstringBorder color.
borderOpacitynumberBorder opacity (0-100).
borderWidthnumberBorder width (px).
borderRadiusnumberCorner radius (px).
fillColorstringFill color.
fillOpacitynumberFill opacity (0-100).
showStepsbooleanShow step markers.
stepColorstringStep marker color.
stepActiveColorstringActive step marker color.

Processing Animation

Animated “setting things up” style block with timed auto-advance.

PropertyTypeDescription
type"processing_animation"Block type.
headlinestringMain line.
subHeadlinestringSecondary line.
durationSecondsnumberTotal duration before auto-advance.
itemsstring[]Checklist/progress lines.
autoAdvancebooleanAuto move after duration.

Spacer

Adds vertical whitespace.

PropertyTypeDescription
type"spacer"Block type.
size"xs" | "sm" | "md" | "lg" | "xl"Token size.
heightnumberExact pixel height.

Footer links block.

PropertyTypeDescription
type"footer"Block type.
links{ label: string, url: string }[]Footer links.
{
  "type": "footer",
  "links": [
    { "label": "Privacy", "url": "https://example.com/privacy" },
    { "label": "Terms", "url": "https://example.com/terms" }
  ]
}

On this page