Pricing
Get Started
  • Introduction
  • Installation
  • MCP Server
  • Saved
Site
  • Builder (Beta)
  • Pricing
  • Roadmap
  • Affiliates
Browse
  • All Components80 New
Text34
  • 3D Letter Swap
  • 3D Text Reveal
  • ASCII Ripple
  • Bending Marquee
  • Blur Highlight
  • Cipher RevealNew
  • Domino LetteringNew
  • Elastic LetteringNew
  • Ghost TypeNew
  • Glitch Text
  • Glyph LotteryNew
  • Gravity LettersNew
  • Label OrbitNew
  • Luminous TypeNew
  • Mesh LetteringNew
  • Orbital TypeNew
  • Particle Text
  • Ribbon TypeNew
  • Rising InkNew
  • Shatter TypeNew
  • Signal TypeNew
  • Smoke TypeNew
  • Speeding Text
  • Spring LetteringNew
  • Staggered Text
  • Stipple TypeNew
  • Tessera TrailNew
  • Text Cube
  • Text MorphNew
  • Text Path
  • Text Scatter
  • Typographic WallNew
  • Vapor TypeNew
  • Wave LetteringNew
Backgrounds98
  • ASCII Tiles
  • Ascii Waves
  • Astral ShellNew
  • Aura Blob
  • Aurora Beam
  • Aurora Blur
  • Axial BeamNew
  • Binary OrbitsNew
  • Black Hole
  • Blinking Dots
  • Blinking Squares
  • Blurred Rays
  • Chroma Blinds
  • Chroma CurrentNew
  • Chroma Waves
  • Cloud AtlasNew
  • Color Loops
  • Concentric TidesNew
  • Contour TideNew
  • Dappled LightNew
  • Dither Wave
  • Dot Shift
  • Eclipse
  • Fading StarsNew
  • Falling Rays
  • Flame Paths
  • Fog Sphere
  • Glass Flow
  • Glass Tiles
  • Glimmer WrapNew
  • Glitter Warp
  • Glowing Ridges
  • Glowing Wave
  • Glue Dots
  • Glyph EmberNew
  • Glyph OrbNew
  • Glyph SonarNew
  • Glyph TideNew
  • Gradient Bars
  • Grain Wave
  • Halftone Vortex
  • Halftone Wave
  • Hexagonal VaultNew
  • Horizon BloomNew
  • Interference RibbonsNew
  • Landscape
  • Light Droplets
  • Lightspeed
  • Liquid Bars
  • Liquid Lines
  • Long Exposure
  • Luminous FilamentsNew
  • Metallic Swirl
  • Minimal Ripple
  • Mosaic
  • Mosaic Waves
  • Neon Reveal
  • Neural Flash
  • Neural Float
  • Neural Tunnel
  • Nexus RaysNew
  • Perspective Grid
  • Photon KnotNew
  • Pixel Rain
  • Prismatic SlatsNew
  • Radial Liquid
  • Ravine
  • Retro Lines
  • Ring FieldNew
  • Rising Lines
  • Rising Particles
  • Rolling Blinds
  • Rotating Stars
  • Rubber Fluid
  • Satin RidgesNew
  • Shader Waves
  • Shadow Bars
  • Silk Waves
  • Simple Swirl
  • Specter Orb
  • Spectral Clouds
  • Spectral DrapeNew
  • Spiral FunnelNew
  • Square Matrix
  • Squares Terminal
  • Squircle Shift
  • Star Swipe
  • Swirl Blend
  • Synaptic Shift
  • Tech Wall
  • Terminal RainNew
  • Thinking Dots
  • Twilight Lines
  • Vortex
  • Voxel ArcNew
  • Warp Twister
  • Watercolor
  • Wireframe Ball
3D & Shaders49
  • Agentic Ball
  • AI Blob
  • Album RailNew
  • Bend Gallery
  • Chrome OrbitNew
  • Circle Stack
  • Concave CarouselNew
  • Constellation GalleryNew
  • Contact SheetNew
  • Depth Card
  • Depth Image
  • Depth RibbonNew
  • Device
  • Dolly Gallery
  • Elastic ReelNew
  • Elastic StickerNew
  • Ember RevealNew
  • Expanding GridNew
  • Frame Border
  • Glass Reveal
  • Globe
  • Gradient Blob
  • Helix GalleryNew
  • Infinite Gallery
  • Inverted Dome
  • Iris GalleryNew
  • Lenticular Carousel
  • Momentum RingNew
  • Page Flip
  • Parallax Carousel
  • Particle Image
  • Particle Morph
  • Passage GalleryNew
  • Pixel Reveal
  • Pixel Sculpt
  • Pixelate Hover
  • Pond ImageNew
  • Portal
  • Prism CarouselNew
  • Rotating Cards
  • Scroll BendNew
  • Scroll Portal
  • Shader Card
  • Shader Reveal
  • Spin ShutterNew
  • Star Burst
  • Tumble Carousel
  • Twisting Gallery
  • Warped Card
Cursor Effects21
  • Arc CursorNew
  • Ascii Cursor
  • Celebration CursorNew
  • Chroma HaloNew
  • Cursor Wave
  • Custom Cursor
  • Dither Cursor
  • Drafting CursorNew
  • Glass Cursor
  • Glyph StreamNew
  • Grid Rise
  • Gyroscope CursorNew
  • Liquid Ascii
  • Parallax Pills
  • Pigment TrailNew
  • Pixel Magnet
  • Ribbon TrailNew
  • Smooth Cursor
  • Snapshot TrailNew
  • Stardust CursorNew
  • User Cursor
UI & Cards28
  • Animated List
  • Card Spread
  • Center Flow
  • Chroma Card
  • Circle Gallery
  • Circles
  • Click Stack
  • Comparison Slider
  • Credit Card
  • Draggable Grid
  • Frame Scrub
  • Gradient Carousel
  • Hover Preview
  • Liquid Swap
  • Loupe ImageNew
  • Magic Transform
  • Modal Cards
  • Orbit ReelNew
  • Parallax Cards
  • Preloader
  • Reel Gallery
  • Scroll Mask
  • Scroll Stack
  • Simple Graph
  • Skewed Carousel
  • Tile Reveal
  • Tilted Tiles
  • Tumble WallNew
  1. Docs
  2. Components
  3. Text
  4. Ghost Type
PreviousElastic LetteringTextNextGlitch TextText

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—