Magic Transform

Documents fly in and come out as colorful results

Customize

Height
560
Duration (s)
4.0
Width
220
Height
320
Gap
60
Particles
18
Center size
56
Axis

Props

17
documentsMagicTransformDocument[]

Documents that scroll through the transformer

Default4 procedural docs
resultsMagicTransformResult[]

Result chips emitted on the right (email, total, address, order, item lines)

Default5 result types
heightnumber | string

Total height of the stage

Default560
widthnumber | string

Total width of the stage

Default"100%"
documentDurationnumber

The "beat" of the transformer in seconds. One document slides in and gets shredded every `documentDuration` seconds; each beat triggers one chip + particle burst.

Default4
documentWidthnumber

Width of a single document card, in px (160–300)

Default220
documentHeightnumber

Height of a single document card, in px (220–420)

Default320
documentGapnumber

Visible gap between adjacent documents in the stream, in px. The loop stays seamless at any value.

Default60
particleCountnumber

Number of confetti particles emitted from the axis (0–48)

Default18
centerSizenumber

Pixel size of the center tile on the axis (40–120)

Default56
axisColorstring

Color of the central transform axis and center tile glow

Default"#7C3AED"
backgroundColorstring

Background of the stage (any CSS background value)

Defaulttransparent
centerContentReactNode

Custom node rendered in the center tile on the axis

DefaultReact Bits Pro logo
pausedboolean

Pause all animations

Defaultfalse
classNamesMagicTransformClassNames

Granular class overrides: root, document, axis, center, result, resultBody, particle

Default{}
classNamestring

Optional className applied to the root

Default""
styleCSSProperties

Optional inline style applied to the root

Defaultundefined