Docs / Input, Button & Progress

Input, Button & Progress

Three scene types for demonstrating UI interactions: an animated text input that types itself, a CTA button with a cursor that hovers and clicks, and a horizontal progress bar with count-up percentage. All three support opt-in visual effects.

Input scene

--- input --- typewriter value

Renders a form input with a label above. The heading value types itself character by character into the field while a blinking cursor tracks the insertion point. The label fades in first, then the box slides up, then typing begins.

--- input ---
# [email protected]
Email address

--- input (shine) ---
# mysecretpassword
Password

The heading is the value typed into the field. The paragraph is the label shown above the box.

Input effects

EffectWhat it does
rotateSine-driven 3D tilt and float. Label and box tilt together in sync.
borderChase-light SVG border traces around the input box.
shineWhite gradient band sweeps across the box while typing.
--- input (border, shine) ---
# Enter your email
Work email

Button scene

--- button --- cursor click animation 8 colors

A full-canvas CTA button with an animated cursor that enters from below, moves to the button, hovers (glow builds), then clicks (button presses down, ripple expands, glow bursts). All timing scales to the scene duration.

--- button ---
# Get Started
Sign up for free today

--- button (blue, shine, 5s) ---
# Start Free Trial

The heading is the button label. The optional paragraph is a sub-label shown above the button (e.g. a social proof line or disclaimer).

Button colors

blue red green purple orange yellow pink cyan white black

Default is blue. The color token can appear anywhere in the variant list - order does not matter.

Button visual effects

EffectDescriptionTiming
shineDiagonal sweep at scene startOnce, on entry
shimmerRepeating stripe gradient animationContinuous
glowHue-cycling shadow layerContinuous
haloRadial white bloom pulse in sync with border loopContinuous
inner-glowBright inner edge ring fades in on hoverOn hover + click
neonMulti-layer colored glow with fast flickerContinuous
sparksParticles fly off the border on clickOn click
confettiColored chips burst from center on clickOn click
lens-flareDiagonal streak + starburst sweeps across on hoverOn hover
spotlightRadial gradient cone narrows onto button from aboveOn entry
frostFrosted glass surface with backdrop blurContinuous
glitchLabel glitches with red/blue channel offsets before cursor arrivesPre-click
borderChase-light SVG border around the buttonContinuous
rotate3D float tiltContinuous
--- button (red, neon, glitch, 6s) ---
# Delete Account

--- button (green, confetti, shine) ---
# Complete Purchase
Secure checkout - no hidden fees

--- button (purple, frost, border, rotate) ---
# Try for free

Progress bar scene

--- progress --- 0% to 100% 8 colors

A horizontal progress bar that fills from 0% to 100% over 90% of the scene duration. The percentage label counts up in sync with the bar fill. Paragraphs fade in at the 50% fill point.

--- progress ---
# Uploading Files
247 files processed, 2.4 GB transferred.

--- progress (green) ---
# Build Complete
Tests passed in 4.2 seconds.

--- progress (red) ---
# Upload Failed
Connection timed out after 30 seconds.

Progress bar colors

blue red green purple orange yellow pink cyan

Progress bar effects

EffectWhat it does
glowHue-cycling outer shadow on the bar and card
borderChase-light SVG border around the card
rotate3D float tilt animation
frostFrosted glass card surface
--- progress (purple, glow, rotate, 8s) ---
# Training AI model
Epoch 24 of 100 - loss: 0.0082