Pricing
Get Started
  • Introduction
  • Installation
  • MCP Server
  • Saved
Site
  • Builder (Beta)
  • Pricing
  • Roadmap
  • Affiliates
Browse
  • All Components25 New
Text32
Reveal & Decode11
  • Blur Highlight
  • Cipher Reveal
  • Ghost Type
  • Glyph Lottery
  • Luminous Type
  • Signal Type
  • Smoke Type
  • Staggered Text
  • Text Morph
  • Typographic Wall
  • Vapor Type
Kinetic & 3D11
  • 3D Letter Swap
  • 3D Text Reveal
  • Bending Marquee
  • Mesh Lettering
  • Orbital Type
  • Ribbon Type
  • Rising Ink
  • Speeding Text
  • Text Cube
  • Text Path
  • Wave Lettering
Interactive & Physics10
  • ASCII Ripple
  • Domino Lettering
  • Elastic Lettering
  • Glitch Text
  • Gravity Letters
  • Particle Text
  • Shatter Type
  • Spring Lettering
  • Stipple Type
  • Text Scatter
Backgrounds106
Gradients & Fluids21
  • Aura Blob
  • Aurora Blur
  • Chroma Waves
  • Cloud Atlas
  • Color Loops
  • Glowing Ridges
  • Gradient Bars
  • Gradient Blob
  • Grain Wave
  • Liquid Bars
  • Minimal Ripple
  • Radial Liquid
  • Rubber Fluid
  • Satin Ridges
  • Shader Waves
  • Silk Waves
  • Simple Swirl
  • Spectral Clouds
  • Stipple GradientNew
  • Swirl Blend
  • Watercolor
Light & Beams14
  • Aurora Beam
  • Axial Beam
  • Blurred Rays
  • Chroma Blinds
  • Dappled Light
  • Eclipse
  • Falling Rays
  • Flame Paths
  • Horizon Bloom
  • Light Droplets
  • Neon Reveal
  • Nexus Rays
  • Rolling Blinds
  • Shadow Bars
Lines & Filaments12
  • Concentric Tides
  • Glowing Wave
  • Interference Ribbons
  • Liquid Lines
  • Long Exposure
  • Luminous Filaments
  • Neural Flash
  • Neural Float
  • Rising Lines
  • Spiral Funnel
  • Synaptic Shift
  • Twilight Lines
Dots & Pixels22
  • Blinking Dots
  • Blinking Squares
  • Chroma Current
  • Circuit FlashNew
  • Cursor Wave
  • Dither Wave
  • Dot Shift
  • Dotted WavesNew
  • Glue Dots
  • Grid Rise
  • Halftone Vortex
  • Halftone Wave
  • Hexagonal Vault
  • Mosaic
  • Mosaic Waves
  • Pixel Rain
  • Square Matrix
  • Squares Terminal
  • Squircle Shift
  • Tech Wall
  • Thinking Dots
  • Voxel Arc
Particles & Space11
  • Astral Shell
  • Binary Orbits
  • Contour Tide
  • Fading Stars
  • Glimmer Wrap
  • Grain MassNew
  • Ring Field
  • Rising Particles
  • Rotating Stars
  • Spectral Drape
  • Star Burst
Horizons & Tunnels10
  • Glitter Warp
  • Landscape
  • Lightspeed
  • Neural Tunnel
  • Perspective Grid
  • Ravine
  • Retro Lines
  • Star Swipe
  • Vortex
  • Warp Twister
ASCII & Glyphs9
  • ASCII StreamNew
  • ASCII Tiles
  • Ascii Waves
  • Glyph Ember
  • Glyph Orb
  • Glyph Sonar
  • Glyph Tide
  • Liquid Ascii
  • Terminal Rain
Glass & Chrome7
  • Glass CoinsNew
  • Glass Flow
  • Glass KeysNew
  • Glass Tiles
  • Metallic Swirl
  • Prismatic Slats
  • Spectral TilesNew
Images & Galleries52
Galleries & Carousels33
  • Album Rail
  • Bend Gallery
  • Circle Gallery
  • Circle Stack
  • Circles
  • Concave Carousel
  • Constellation Gallery
  • Contact Sheet
  • Depth Ribbon
  • Dolly Gallery
  • Draggable Grid
  • Elastic Reel
  • Expanding Grid
  • Gradient Carousel
  • Helix Gallery
  • Infinite Gallery
  • Inverted Dome
  • Iris Gallery
  • Lenticular Carousel
  • Liquid CirclesNew
  • Momentum Ring
  • Orbit Reel
  • Parallax Carousel
  • Passage Gallery
  • Prism Carousel
  • Reel Gallery
  • Rotating Cards
  • Scroll Bend
  • Skewed Carousel
  • Spin Shutter
  • Tilted Tiles
  • Tumble Carousel
  • Twisting Gallery
Image Effects14
  • Comparison Slider
  • Depth Image
  • Ember Reveal
  • Glass Reveal
  • Hover Preview
  • Liquid Swap
  • Loupe Image
  • Particle Image
  • Particle Morph
  • Pixel Reveal
  • Pixel Sculpt
  • Pixelate Hover
  • Pond Image
  • Shader Reveal
Scroll Stories5
  • Frame Scrub
  • Scroll Mask
  • Scroll Portal
  • Scroll Stack
  • Tile Reveal
Interface30
Cards & Widgets15
  • Animated ListUpdated
  • Arc ListNew
  • Card Spread
  • Chroma Card
  • Click Stack
  • Credit Card
  • Depth Card
  • Frame Border
  • Modal Cards
  • Parallax Cards
  • Parallax Pills
  • Preloader
  • Shader Card
  • SignatureNew
  • Warped Card
Product Mockups8
  • Browser WindowNew
  • Center Flow
  • Code MorphNew
  • Device
  • Magic Transform
  • PipelineNew
  • Spin ViewerNew
  • Terminal ReplayNew
Data & Media7
  • Globe
  • Instrument DialNew
  • Particle ChartNew
  • Signal MapNew
  • Simple Graph
  • Story PlayerNew
  • Waveform PlayerNew
3D & Tactile16
Orbs & Shapes9
  • Agentic Ball
  • AI Blob
  • Black Hole
  • Chrome Orbit
  • Fog Sphere
  • Photon Knot
  • Portal
  • Specter Orb
  • Wireframe Ball
Tactile & Physics7
  • Elastic Sticker
  • KeycapsNew
  • Page Flip
  • Pin ScreenNew
  • Receipt PrinterNew
  • Scratch CardNew
  • Tumble Wall
Cursors19
Custom Cursors7
  • Custom Cursor
  • Drafting Cursor
  • Glass Cursor
  • Gyroscope Cursor
  • Label Orbit
  • Smooth Cursor
  • User Cursor
Cursor Trails12
  • Arc Cursor
  • Ascii Cursor
  • Celebration Cursor
  • Chroma Halo
  • Dither Cursor
  • Glyph Stream
  • Pigment Trail
  • Pixel Magnet
  • Ribbon Trail
  • Snapshot Trail
  • Stardust Cursor
  • Tessera Trail
  1. Docs
  2. Components
  3. Text
  4. Kinetic & 3D
  5. Text Cube

Animated components, blocks, and templates for React. Pay once, ship stunning pages forever.

pro@reactbits.dev

Site

HomeBuilder (Beta)PricingTestimonialsFAQsRoadmapChangelogFree Components

Docs

IntroductionInstallationMCP ServerComponentsBlocksTemplates

Resources

AboutUse casesComparisonsAlternativesFor AI agents

Legal & Account

LoginAffiliateLicensePrivacyContact

© 2026 pro.reactbits.dev. All rights reserved.

Text Cube

A 3D cube of text that follows the cursor

text-cube-tw

Customize

Color
Accent
Background
Font Weight
300
Font Size
18px
Cube Size
280px
Density
49
Perspective
700px
Shading
0.60
Depth Fade
0.30
Depth Tint
0.50
Glow
0.35
Rotation Speed
1.00
Auto Rotate X
0.30
Auto Rotate Y
0.30
Breathe
0.10
Follow Speed
0.08
Roll
0.35
Inertia
1.00s
Scramble
1.10s
Shuffle
0/s

Props

41
NameTypeDefaultDescription
wordstring"x"Text drawn at every point of the lattice.
fill"word" | "letters" | "random""word"How text covers the faces: the whole word at each point, its letters spelled across the faces, or random glyphs from the charset.
charsetstring"abcdefghijklmnopqrstuvwxyz0123456789"Glyphs used by the scramble, the shuffle and the random fill.
uprightbooleanfalseKeeps every glyph upright and facing you instead of printing it on its face.
cubeSizenumber280Edge length of the cube in pixels. It shrinks to fit small containers.
densitynumber49Glyphs per face, rounded up to a square grid.
fontSizenumber18Glyph size in pixels at the centre of the cube.
fontWeightnumber300Font weight from 100 to 900.
fontFamilystring"inherit"Font family. Inherit uses the font of the page.
colorstring"currentColor"Glyph colour. Defaults to the surrounding text colour.
accentColorstring"#B19EEF"Colour of scrambling glyphs and of the far faces.
backgroundColorstring"transparent"Fill behind the cube. On light fills or light pages the colours turn into deep ink tones.
shadingnumber0.6How much faces dim as they turn away from you.
depthFadenumber0.3Extra fade toward the back of the cube.
depthTintnumber0.5How far the back faces shift toward the accent colour.
glownumber0.35Soft bloom around bright glyphs. Dark backgrounds only.
perspectivenumber700Camera distance in pixels. Lower values look more dramatic.
rotationSpeednumber1Speed of the idle tumble.
autoRotateXnumber0.3Idle tumble around the horizontal axis.
autoRotateYnumber0.3Idle tumble around the vertical axis.
breathenumber0.1Size of the slow breathing pulse.
breatheSpeednumber2Speed of the breathing pulse.
followSpeednumber0.08How quickly the cube springs after the cursor. 0 keeps it in place.
rollnumber0.35How much the cube rolls as it travels.
offsetXnumber0Horizontal offset from the cursor in pixels.
offsetYnumber0Vertical offset from the cursor in pixels.
draggablebooleantrueDrag to spin the cube. A flick keeps it turning.
inertianumber1Seconds a flicked spin takes to slow down.
scrambleDurationnumber1.1Length of the click scramble in seconds. 0 turns it off.
shufflenumber0Glyphs per second that quietly change on their own.
opacitynumber1Overall opacity.
interactivebooleantrueFollow, drag and click. Off keeps the cube centred.
introbooleantrueTypes the cube in from the front when it appears.
pausedbooleanfalseStops the tumble, breathing and shuffle. Reduced-motion users get a still cube.
dprnumber2Maximum device pixel ratio for the canvas.
widthstring | number"100%"Width of the root.
heightstring | number"100%"Height of the root.
childrenReactNodeundefinedContent drawn above the cube.
classNamestringundefinedClasses for the root element.
styleCSSPropertiesundefinedInline styles for the root element.
ref{ scramble, spin }undefinedscramble() runs the scramble from code. spin(x?, y?) flicks the cube, in radians per second.
wordstring

Text drawn at every point of the lattice.

Default"x"
fill"word" | "letters" | "random"

How text covers the faces: the whole word at each point, its letters spelled across the faces, or random glyphs from the charset.

Default"word"
charsetstring

Glyphs used by the scramble, the shuffle and the random fill.

Default"abcdefghijklmnopqrstuvwxyz0123456789"
uprightboolean

Keeps every glyph upright and facing you instead of printing it on its face.

Defaultfalse
cubeSizenumber

Edge length of the cube in pixels. It shrinks to fit small containers.

Default280
densitynumber

Glyphs per face, rounded up to a square grid.

Default49
fontSizenumber

Glyph size in pixels at the centre of the cube.

Default18
fontWeightnumber

Font weight from 100 to 900.

Default300
fontFamilystring

Font family. Inherit uses the font of the page.

Default"inherit"
colorstring

Glyph colour. Defaults to the surrounding text colour.

Default"currentColor"
accentColorstring

Colour of scrambling glyphs and of the far faces.

Default"#B19EEF"
backgroundColorstring

Fill behind the cube. On light fills or light pages the colours turn into deep ink tones.

Default"transparent"
shadingnumber

How much faces dim as they turn away from you.

Default0.6
depthFadenumber

Extra fade toward the back of the cube.

Default0.3
depthTintnumber

How far the back faces shift toward the accent colour.

Default0.5
glownumber

Soft bloom around bright glyphs. Dark backgrounds only.

Default0.35
perspectivenumber

Camera distance in pixels. Lower values look more dramatic.

Default700
rotationSpeednumber

Speed of the idle tumble.

Default1
autoRotateXnumber

Idle tumble around the horizontal axis.

Default0.3
autoRotateYnumber

Idle tumble around the vertical axis.

Default0.3
breathenumber

Size of the slow breathing pulse.

Default0.1
breatheSpeednumber

Speed of the breathing pulse.

Default2
followSpeednumber

How quickly the cube springs after the cursor. 0 keeps it in place.

Default0.08
rollnumber

How much the cube rolls as it travels.

Default0.35
offsetXnumber

Horizontal offset from the cursor in pixels.

Default0
offsetYnumber

Vertical offset from the cursor in pixels.

Default0
draggableboolean

Drag to spin the cube. A flick keeps it turning.

Defaulttrue
inertianumber

Seconds a flicked spin takes to slow down.

Default1
scrambleDurationnumber

Length of the click scramble in seconds. 0 turns it off.

Default1.1
shufflenumber

Glyphs per second that quietly change on their own.

Default0
opacitynumber

Overall opacity.

Default1
interactiveboolean

Follow, drag and click. Off keeps the cube centred.

Defaulttrue
introboolean

Types the cube in from the front when it appears.

Defaulttrue
pausedboolean

Stops the tumble, breathing and shuffle. Reduced-motion users get a still cube.

Defaultfalse
dprnumber

Maximum device pixel ratio for the canvas.

Default2
widthstring | number

Width of the root.

Default"100%"
heightstring | number

Height of the root.

Default"100%"
childrenReactNode

Content drawn above the cube.

Defaultundefined
classNamestring

Classes for the root element.

Defaultundefined
styleCSSProperties

Inline styles for the root element.

Defaultundefined
ref{ scramble, spin }

scramble() runs the scramble from code. spin(x?, y?) flicks the cube, in radians per second.

Defaultundefined