Content Display

Text

Simple editable text block for builder canvas and app player, built for short descriptions, section notes, helper instructions, and callout paragraphs with reliable wrapping and predictable sizing.

Quick startAdd in 3 steps

Component picker → Content DisplayText, then set copy, typography, and alignment.

Text behaviorWrap-first rendering

Uses wrapping-safe styles and no line clamp by default to reduce clipping risk.

Sizing modelWidth + min-height

customWidth fixes width; customHeight applies as min-height so text can still grow.

What it does

Four things worth knowing

Always wraps by default

Uses wrap-first text rendering, so long copy naturally flows instead of clipping in most layouts.

Default content is ready to edit

Starts with Edit me! so the block is immediately visible and can be replaced quickly from the property editor.

Font family controls weight behavior

fontWeight is applied only when no custom font is used, or when fontFamily is System, to avoid conflicts with weight-encoded custom font files.

Sizing favors readable growth

customWidth sets fixed width, while customHeight maps to min-height so long text can expand instead of being hard-clipped.

Builder setup

Find it, drop it, and style copy

Where to find itAdd it to any screen

  1. Component picker → Content DisplayText.
  2. Drop it where supporting copy or helper notes are needed.
  3. Set content, font, size, color, alignment, and optional width/height bounds.

Before you publishThree things to check

  1. Verify long copy still wraps cleanly on small-width layouts.
  2. Check contrast and readable font size for the chosen background.
  3. If using customHeight, confirm content is not visually cramped.
Category: Content DisplayComponent: BuilderTextRegistry key: textDefault text: Edit me!
Props

Content, typography, and sizing

PropTypeDefaultDescription
textstring’Edit me!’Main visible text content.
colorcolor#222222Text color.
fontSizenumberregistry defaultBase text size.
fontWeightnormal | boldnormalApplied only when no custom font family is used or when fontFamily is System.
fontFamilystringUrbanist-RegularFont family for rendered text.
textAlignleft | center | rightleftHorizontal text alignment.
customWidthnumberunsetOptional fixed container width.
customHeightnumberunsetOptional minimum container height.
Toggles & colours

Make it yours

Adjust typography, color, alignment, and optional dimensions to fit each screen section while preserving readable wrapping.

PropTypical valueWhat it controls
color#222222Primary text contrast and tone.
fontSize16 to 20Readability and emphasis of body copy.
fontFamilyUrbanist-RegularText personality and weight behavior.
fontWeightnormal / boldWeight fallback when custom font family is not encoding weight.
textAlignleft, center, rightParagraph alignment in layout.
customWidth280 to 360Fixed-width callout and wrapping width.
customHeight56+Minimum container height while allowing growth.
Tips

Common mistakes to avoid

Don’t clamp unintentionally

This component is wrap-first by design. If you add line-clamp behavior later, verify long copy still works for smaller screens.

Use width and size together

Most readability issues come from large font size with very small width. Tune customWidth and fontSize together.

Know when fontWeight applies

If you pass a custom fontFamily, weight is usually encoded there and fontWeight may be ignored by design.

Sync logic when behavior changes

If you change sizing or wrapping rules, update BuilderText.tsx, registry defaults/options, and canvas dimension estimation together.