Extrude Text
Extruded 3D type: a stack of layers behind a crisp face that tilts toward the pointer, orbits on its own when idle, grows out on mount and presses into the page on hover.
pixikit.com/docs/effects/extrude-text
Customize
Layers34
Depth2.4px
Face color
Depth color
Gradient depth
Tilt7.5°
Pointer tracking
Smoothing0.14
Perspective900px
Auto orbit
Orbit speed0.35
Hover push0.50
Float
Font size
Font weight
Shadow
Outline
Intro
Props
21| Name | Type | Default | Description |
|---|---|---|---|
text | string | "Elevate" | The word or short phrase. |
layers | number | 34 | How many stacked copies form the extrusion, up to 60. |
depth | number | 2.4 | The space between layers, in pixels. |
faceColor | string | "currentColor" | The colour of the front face. Follows the surrounding text by default. |
depthColor | string | "#7c3aed" | The colour the extrusion fades into toward the back. |
gradientDepth | boolean | false | Paints the extrusion in the depth colour right behind the face and fades it out toward the back. |
tilt | number | 7.5 | The resting angle and the most the pointer can turn the text, in degrees. |
pointerTracking | boolean | true | Turns the text toward the pointer on devices with a mouse. |
smoothing | number | 0.14 | How quickly the rotation catches the pointer, 0 to 1. |
perspective | number | 900 | The camera distance, in pixels. |
autoOrbit | boolean | true | Orbits gently when the pointer is idle or unavailable. |
orbitSpeed | number | 0.35 | The speed of the idle orbit, in turns per second. |
hoverPush | number | 0 | How far hovering presses the text into the page, 0 to 1. Pressing pushes deeper and releasing springs back. |
float | boolean | false | Lets the text bob and sway while it is not hovered. |
fontSize | string | "clamp(3rem, 12vw, 7rem)" | Any CSS font size. |
fontWeight | number | string | 900 | The font weight of every layer. |
shadow | boolean | true | Casts a soft shadow behind the extrusion. |
outline | boolean | false | Draws the extrusion as stacked outlines instead of solid layers. |
intro | boolean | true | Grows the extrusion out from the flat face on mount. |
className | string | None | |
style | CSSProperties | None |