Origami Text
Text that unfolds into place like creased paper: every character, word or line is a panel that swings open in 3D, as paper, blinds or a flipped card, with crease shading, a loop and panels that fold away under the pointer.
pixikit.com/docs/effects/origami-text
Customize
Fold style
Split by
Hinge
Fold angle92°
Duration0.65s
Stagger0.045s
Stagger from
Ease
Perspective700px
Crease shading0.55
Trigger
Loop delay1.4s
Hover refold
Refold radius140px
Refold angle45°
Font size80px
Font weight800
Color
Props
21| Name | Type | Default | Description |
|---|---|---|---|
text | string | "Design unfolds" | The text to split and fold into place. Line breaks are kept. |
foldStyle | "paper" | "blinds" | "flip" | "paper" | How each panel folds: paper swings open from its hinge edge, blinds turns two slats open one after the other, flip turns it over like a card. |
splitBy | "char" | "word" | "line" | "char" | Whether each character, word or line folds as its own panel. |
hinge | "top" | "bottom" | "left" | "right" | "top" | The edge each panel folds around. For blinds and flip it picks the axis and the turning direction. |
foldAngle | number | 92 | How far the panels start folded away, in degrees. Past 90 they come over from behind. |
duration | number | 0.65 | How long each panel takes to unfold, in seconds. |
stagger | number | 0.045 | The delay between panels, in seconds. |
staggerFrom | "start" | "center" | "end" | "edges" | "random" | "start" | Where the cascade starts. |
ease | string | "power3.out" | The easing of the unfold: 'power1' to 'power4', 'sine', 'expo', 'circ', 'back' or 'elastic' with '.in', '.out' or '.inOut', or 'none'. |
perspective | number | 700 | The camera distance for the fold, in pixels. Lower looks deeper. |
creaseShading | number | 0.55 | How much a panel fades while it is folded, 0 to 1. |
trigger | "mount" | "hover" | "scroll" | "loop" | "mount" | When the text unfolds. Scroll replays each time it enters the view; loop holds the text, folds it back and plays again. |
loopDelay | number | 1.4 | How long the open text holds before folding back, in seconds. Only for the loop trigger. |
hoverRefold | boolean | false | Panels near the pointer fold partly away and ease back open once it passes. |
refoldRadius | number | 140 | How far from the pointer panels react, in pixels. |
refoldAngle | number | 45 | How far a panel right under the pointer folds away, in degrees. |
fontSize | string | number | 80 | The font size. Numbers are pixels. |
fontWeight | string | number | 800 | The font weight. |
color | string | "currentColor" | The text colour. Follows the surrounding text by default. |
className | string | None | |
style | CSSProperties | None |