Archived docs Get your API Key
Get started
Tutorials
Guides
Reference
Help for AI 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_leftstringStart left position (e.g. '10%').
initial_topstringStart top position.
initial_widthstringStart width.
initial_heightstringStart height.
final_leftstringEnd left position.
final_topstringEnd top position.
final_widthstringEnd width.
final_heightstringEnd height.
durationnumber2000Animation duration in ms (0-3000).
easingstringeaseOutCubicAnime.js easing function.
backgroundstringBox background (color, gradient, image).
box-shadowstringCSS box shadow.