Skip to content
PixiKit

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
NameTypeDefaultDescription
textstring"Elevate"The word or short phrase.
layersnumber34How many stacked copies form the extrusion, up to 60.
depthnumber2.4The space between layers, in pixels.
faceColorstring"currentColor"The colour of the front face. Follows the surrounding text by default.
depthColorstring"#7c3aed"The colour the extrusion fades into toward the back.
gradientDepthbooleanfalsePaints the extrusion in the depth colour right behind the face and fades it out toward the back.
tiltnumber7.5The resting angle and the most the pointer can turn the text, in degrees.
pointerTrackingbooleantrueTurns the text toward the pointer on devices with a mouse.
smoothingnumber0.14How quickly the rotation catches the pointer, 0 to 1.
perspectivenumber900The camera distance, in pixels.
autoOrbitbooleantrueOrbits gently when the pointer is idle or unavailable.
orbitSpeednumber0.35The speed of the idle orbit, in turns per second.
hoverPushnumber0How far hovering presses the text into the page, 0 to 1. Pressing pushes deeper and releasing springs back.
floatbooleanfalseLets the text bob and sway while it is not hovered.
fontSizestring"clamp(3rem, 12vw, 7rem)"Any CSS font size.
fontWeightnumber | string900The font weight of every layer.
shadowbooleantrueCasts a soft shadow behind the extrusion.
outlinebooleanfalseDraws the extrusion as stacked outlines instead of solid layers.
introbooleantrueGrows the extrusion out from the flat face on mount.
classNamestringNone
styleCSSPropertiesNone

More text effects in Pro

View all

Related