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. Reveal & Decode
  5. Ghost Type

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.

Ghost Type

A headline that writes itself with AI-style ghost completions

ghost-type-tw

Customize

Text Colour
Accent
Font Size
58px
Font Weight
600
Line Height
1.08
Letter Spacing
-0.030em
Ghost Opacity
0.38
Type Speed
45ms
Stream Speed
70ms
Think Delay
600ms
Accept Delay
1200ms
Hold Delay
1800ms

Props

33
NameTypeDefaultDescription
textstring"Build anything"The part of the headline that types itself first and stays.
completionsstring[][" with a single prompt.", ...]Endings suggested one after another as ghost text. Start each with a space if it should follow a word.
as"h1" | "h2" | "h3" | "h4" | "p" | "div" | "span""h2"The element rendered. Screen readers get the first full sentence.
textColorstring—Colour of the text. Leave unset to use the surrounding text colour.
accentColorstring"#8B5CF6"Colour of the caret, the accept sweep and the selection.
ghostOpacitynumber0.38Opacity of ghost text, relative to the text colour.
fontFamilystring—Font of the headline. Leave unset to use your CSS or className.
fontSizenumber—Font size in pixels. Leave unset to size with CSS (it falls back to 56px).
fontWeightnumber—Font weight (it falls back to 600).
lineHeightnumber—Line height relative to the font size (it falls back to 1.08).
letterSpacingnumber—Letter spacing in em (it falls back to -0.03).
align"left" | "center" | "right""center"Where the headline sits. Text inside stays left-aligned like an editor, so nothing shifts while it types.
typeSpeednumber45Milliseconds per typed character, with a natural variation.
streamSpeednumber70Milliseconds between streamed ghost words (characters stream three times faster).
streamBy"word" | "char""word"Whether ghost text streams in word by word or character by character.
thinkDelaynumber600Milliseconds before a suggestion appears.
acceptDelaynumber1200Milliseconds a suggestion waits before it is accepted.
holdDelaynumber1800Milliseconds the accepted sentence stays before the next suggestion.
clearStyle"select" | "backspace""select"How an accepted ending is removed: selected and deleted, or backspaced.
caret"bar" | "block" | "underscore""bar"Shape of the caret.
caretBlinkbooleantrueBlink the caret while idle.
hintbooleantrueShow a key hint after the suggestion, pressed when it is accepted.
hintLabelstring"Tab"Label of the key hint.
sweepbooleantrueSweep the accent colour through an accepted ending.
loopbooleantrueCycle through the completions forever. Off stops on the last accepted one.
startOnViewbooleantrueStart typing when the headline scrolls into view.
pauseOnHoverbooleantruePause the timing while the mouse is over the headline, so it can be read.
clickToAcceptbooleantrueClick to accept a suggestion right away, or to skip to the next one.
pausedbooleanfalsePause the sequence.
onAccept(completion, index) => void—Called whenever a completion is accepted, for example to sync other content.
ref{ accept, next, restart }—accept() takes the current suggestion, next() skips ahead, restart() types it all again.
classNamestring—Classes for the heading, including typography such as text-7xl or font-bold.
styleCSSProperties—Inline styles for the heading.
textstring

The part of the headline that types itself first and stays.

Default"Build anything"
completionsstring[]

Endings suggested one after another as ghost text. Start each with a space if it should follow a word.

Default[" with a single prompt.", ...]
as"h1" | "h2" | "h3" | "h4" | "p" | "div" | "span"

The element rendered. Screen readers get the first full sentence.

Default"h2"
textColorstring

Colour of the text. Leave unset to use the surrounding text colour.

Default—
accentColorstring

Colour of the caret, the accept sweep and the selection.

Default"#8B5CF6"
ghostOpacitynumber

Opacity of ghost text, relative to the text colour.

Default0.38
fontFamilystring

Font of the headline. Leave unset to use your CSS or className.

Default—
fontSizenumber

Font size in pixels. Leave unset to size with CSS (it falls back to 56px).

Default—
fontWeightnumber

Font weight (it falls back to 600).

Default—
lineHeightnumber

Line height relative to the font size (it falls back to 1.08).

Default—
letterSpacingnumber

Letter spacing in em (it falls back to -0.03).

Default—
align"left" | "center" | "right"

Where the headline sits. Text inside stays left-aligned like an editor, so nothing shifts while it types.

Default"center"
typeSpeednumber

Milliseconds per typed character, with a natural variation.

Default45
streamSpeednumber

Milliseconds between streamed ghost words (characters stream three times faster).

Default70
streamBy"word" | "char"

Whether ghost text streams in word by word or character by character.

Default"word"
thinkDelaynumber

Milliseconds before a suggestion appears.

Default600
acceptDelaynumber

Milliseconds a suggestion waits before it is accepted.

Default1200
holdDelaynumber

Milliseconds the accepted sentence stays before the next suggestion.

Default1800
clearStyle"select" | "backspace"

How an accepted ending is removed: selected and deleted, or backspaced.

Default"select"
caret"bar" | "block" | "underscore"

Shape of the caret.

Default"bar"
caretBlinkboolean

Blink the caret while idle.

Defaulttrue
hintboolean

Show a key hint after the suggestion, pressed when it is accepted.

Defaulttrue
hintLabelstring

Label of the key hint.

Default"Tab"
sweepboolean

Sweep the accent colour through an accepted ending.

Defaulttrue
loopboolean

Cycle through the completions forever. Off stops on the last accepted one.

Defaulttrue
startOnViewboolean

Start typing when the headline scrolls into view.

Defaulttrue
pauseOnHoverboolean

Pause the timing while the mouse is over the headline, so it can be read.

Defaulttrue
clickToAcceptboolean

Click to accept a suggestion right away, or to skip to the next one.

Defaulttrue
pausedboolean

Pause the sequence.

Defaultfalse
onAccept(completion, index) => void

Called whenever a completion is accepted, for example to sync other content.

Default—
ref{ accept, next, restart }

accept() takes the current suggestion, next() skips ahead, restart() types it all again.

Default—
classNamestring

Classes for the heading, including typography such as text-7xl or font-bold.

Default—
styleCSSProperties

Inline styles for the heading.

Default—