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

Component advanced/051

Component ID: advanced/051

Simulates a realistic mouse cursor clicking a button. A cursor pointer moves toward the button, the button depresses on click (scale down), then releases (scale up), and the cursor fades out. Perfect for demonstrating UI interactions, app tutorials, or adding a human-touch click effect to CTAs.

SectionInteractive or data-driven elements: buttons, counters, ratings, images, tables
Animation1) Cursor moves to button center (1500ms, easeOutCirc). 2) Button scales down to 0.9 (200ms). 3) Button scales back to 1 (100ms). 4) Cursor fades out (200ms).
Intro duration10 s

Preview

Element schema

Minimal shape of a advanced/051 component element:

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

button

Button styling and text.

PropertyTypeDefaultDescription
textstringButton label text.
backgroundstringButton background.
colorstringwhiteText color.
font-sizestring3vwFont size.
font-familystringRobotoGoogle Font name.
paddingstring1vw 2vwButton padding.
border-radiusstring1.5vwCorner rounding.
vertical-alignstring (enum)centerVertical position. Values: top, center, bottom
horizontal-alignstring (enum)centerHorizontal position. Values: left, center, right

cursor

Mouse cursor appearance.

PropertyTypeDefaultDescription
widthstring8vwCursor size.
heightstring8vwCursor size.