Magic Transform

Documents fly in and come out as colorful results

magic-transform-tw

Customize

Stage

560

Documents

4
220
320
60

Output

18
56

Color

#7C3AED

Props

documentsMagicTransformDocument[]

Documents that scroll through the transformer

Default:4 procedural docs
resultsMagicTransformResult[]

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

Default:5 result types
heightnumber | string

Total height of the stage

Default:560
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.

Default:4
documentWidthnumber

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

Default:220
documentHeightnumber

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

Default:320
documentGapnumber

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

Default:60
particleCountnumber

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

Default:18
centerSizenumber

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

Default:56
axisColorstring

Color of the central transform axis and center tile glow

Default:"#7C3AED"
backgroundColorstring

Background of the stage (any CSS background value)

Default:transparent
centerContentReactNode

Custom node rendered in the center tile on the axis

Default:React Bits Pro logo
pausedboolean

Pause all animations

Default:false
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

Default:undefined