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

Component basic/100

Component ID: basic/100

A generic animated box that morphs from one position/size to another. Specify initial and final coordinates (left, top, width, height) and the box smoothly animates between them. Useful for highlight effects, focus indicators, animated backgrounds, or any scenario needing a moving/resizing rectangle with custom easing.

SectionAnimated geometric shapes, rectangles, polygons, cutouts, and custom HTML/SVG
AnimationBox animates top, left, width, height from initial to final values. Duration 0-3000ms, customizable easing.
Intro duration5 s

Preview

Element schema

Minimal shape of a basic/100 component element:

{
    "type": "component",
    "component": "basic/100",
    "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.

box

The animated box element with initial and final states.

PropertyTypeDefaultDescription
initial_leftstring—Start left position (e.g. '10%').
initial_topstring—Start top position.
initial_widthstring—Start width.
initial_heightstring—Start height.
final_leftstring—End left position.
final_topstring—End top position.
final_widthstring—End width.
final_heightstring—End height.
durationnumber2000Animation duration in ms (0-3000).
easingstringeaseOutCubicAnime.js easing function.
backgroundstring—Box background (color, gradient, image).
box-shadowstring—CSS box shadow.