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. Cipher Reveal
PreviousBlur HighlightTextNextDomino LetteringText

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—