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. Cipher Reveal

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.

Cipher Reveal

A headline that decodes out of scrambled characters

cipher-reveal-tw

Customize

Text
Scramble
Font Size
80px
Duration
1.40s
Scramble
0.45s
Rate
14
Scramble Opacity
0.42
Hover Radius
0.60em

Props

25
NameTypeDefaultDescription
textstring"Ideas into reality"The headline, set in the page's own font. Changing it decodes the new words in place.
as"span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6""span"Element to render.
fontSizenumber | string"clamp(2.75rem, 8vw, 6.5rem)"Font size. Numbers are pixels; strings accept any CSS length.
fontWeightnumber600Font weight. The font family is inherited from the page.
letterSpacingstring"-0.03em"Letter spacing as a CSS length.
lineHeightnumber1.1Line height for wrapped headlines.
align"left" | "center" | "right""center"Text alignment.
colorstringinheritedColour of the decoded text. Leave unset to inherit from the page.
scrambleColorstringtext colourColour of the characters while they are still scrambled. Leave unset for a monochrome decode.
scrambleOpacitynumber0.42Opacity of the scrambled characters, from 0 to 1. They brighten toward full as each letter locks.
charsetstring"auto"Characters used while scrambling. "auto" matches each letter with characters of the same case and a similar width. Any other string is used as-is. Every scrambled character is fitted to its letter's exact width, so the line never shifts.
trigger"view" | "mount" | "manual""view"When the first reveal plays: as the headline scrolls into view, on mount, or only through the ref.
order"left" | "right" | "center" | "random""left"Order the letters decode in.
from"blank" | "scrambled""blank"Start from nothing, with letters typed in as cipher, or from a fully scrambled line.
durationnumber1.4Seconds for the whole headline to decode.
scramblenumber0.45Seconds each letter scrambles before it locks.
ratenumber14How many times per second a scrambled character changes.
hover"trail" | "replay" | "none""trail"trail re-encrypts the letters the pointer moves across, decoding them again behind it. replay decodes the whole headline again when the pointer enters.
hoverRadiusnumber0.6Reach of the hover trail, in em.
loopbooleanfalseDecode again every interval while the headline is on screen.
intervalnumber5Seconds between reveals when loop is on.
onComplete() => void—Called when a reveal finishes.
ref{ replay }—replay() decodes the headline again from code.
classNamestring—Classes for the root element.
styleCSSProperties—Inline styles for the root element.
textstring

The headline, set in the page's own font. Changing it decodes the new words in place.

Default"Ideas into reality"
as"span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6"

Element to render.

Default"span"
fontSizenumber | string

Font size. Numbers are pixels; strings accept any CSS length.

Default"clamp(2.75rem, 8vw, 6.5rem)"
fontWeightnumber

Font weight. The font family is inherited from the page.

Default600
letterSpacingstring

Letter spacing as a CSS length.

Default"-0.03em"
lineHeightnumber

Line height for wrapped headlines.

Default1.1
align"left" | "center" | "right"

Text alignment.

Default"center"
colorstring

Colour of the decoded text. Leave unset to inherit from the page.

Defaultinherited
scrambleColorstring

Colour of the characters while they are still scrambled. Leave unset for a monochrome decode.

Defaulttext colour
scrambleOpacitynumber

Opacity of the scrambled characters, from 0 to 1. They brighten toward full as each letter locks.

Default0.42
charsetstring

Characters used while scrambling. "auto" matches each letter with characters of the same case and a similar width. Any other string is used as-is. Every scrambled character is fitted to its letter's exact width, so the line never shifts.

Default"auto"
trigger"view" | "mount" | "manual"

When the first reveal plays: as the headline scrolls into view, on mount, or only through the ref.

Default"view"
order"left" | "right" | "center" | "random"

Order the letters decode in.

Default"left"
from"blank" | "scrambled"

Start from nothing, with letters typed in as cipher, or from a fully scrambled line.

Default"blank"
durationnumber

Seconds for the whole headline to decode.

Default1.4
scramblenumber

Seconds each letter scrambles before it locks.

Default0.45
ratenumber

How many times per second a scrambled character changes.

Default14
hover"trail" | "replay" | "none"

trail re-encrypts the letters the pointer moves across, decoding them again behind it. replay decodes the whole headline again when the pointer enters.

Default"trail"
hoverRadiusnumber

Reach of the hover trail, in em.

Default0.6
loopboolean

Decode again every interval while the headline is on screen.

Defaultfalse
intervalnumber

Seconds between reveals when loop is on.

Default5
onComplete() => void

Called when a reveal finishes.

Default—
ref{ replay }

replay() decodes the headline again from code.

Default—
classNamestring

Classes for the root element.

Default—
styleCSSProperties

Inline styles for the root element.

Default—