Archived docs Get your API Key
Get started
Tutorials
Guides
Reference
Help for AI agents
🤖 AI Assistant

Component textbox/simple

Component ID: textbox/simple

Renders up to 10 independent positioned text boxes, each with its own background, border, rotation, and keyframe animation. Supports auto font-sizing to fit text within the box. Each textbox is a styled container with text content, useful for creating card layouts, callouts, labels, or any positioned text with backgrounds and animations.

SectionPositioned text boxes with backgrounds, borders, and animations
AnimationEach textbox has its own 'animate' block for position, size, rotation keyframes.
Intro duration0 s

Preview

Element schema

Minimal shape of a textbox/simple component element:

{
    "type": "component",
    "component": "textbox/simple",
    "settings": {}
}

See the full component element reference for shared properties like duration, start, x, y, etc.

Settings

The settings property accepts the following groups. Each group contains CSS-like properties; see component CSS properties for the full list of supported keys.

textbox1

First textbox. Use textbox2-textbox10 for additional textboxes.

PropertyTypeDefaultDescription
leftstringLeft position.
topstringTop position.
widthstringWidth.
heightstringHeight.
textstringText content.
font-sizestringFont size. Use 'auto' for auto-fit.
max-font-sizestringMax font size for auto-fit.
min-font-sizestringMin font size for auto-fit.
colorstringText color.
font-familystringGoogle Font name.
text-alignstringText alignment.
align-itemsstringVertical alignment (flexbox).
backgroundstringBox background color.
border-radiusstringCorner rounding.
box-shadowstringCSS box shadow.
rotatestringRotation (e.g. '-15deg').
animateobjectKeyframe animation for position, size, rotation.