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. Glyph Lottery
PreviousGlitch TextTextNextGravity LettersText

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.

Glyph Lottery

Letters that spin like slot reels and lock into a headline

glyph-lottery-tw

Customize

Text
Accent
Font Size
80px
Spin Speed
22
Duration
0.50s
Stagger
0.060s
Bounce
0.45
Blur
0.60
Fade
0.70
Flash
0.60
Interval
4.0s

Props

28
NameTypeDefaultDescription
textstring"Your lucky number"The headline. Changing it rolls the reels to the new words, so it works as a rotating headline.
as"span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6""span"Element to render. Screen readers get the plain text.
fontSizenumber | string"clamp(2.75rem, 8vw, 6.5rem)"Font size. Numbers are pixels; strings accept any CSS length.
fontWeightnumber700Font weight. The font family is inherited from the page.
letterSpacingstring"-0.03em"Letter spacing as a CSS length.
lineHeightnumber1.1Line height, which is also the height of each reel's window.
align"left" | "center" | "right""center"Text alignment.
colorstringinheritedText colour. Leave unset to inherit from the page.
accentColorstring"#B15CFF"Colour each letter flashes as its reel locks in, fading back to the text colour.
charsetstring"auto"Glyphs on the reels. "auto" matches each letter: capitals spin through capitals, lowercase through lowercase, digits through digits, all picked to the same width. Any other string is used as-is.
trigger"view" | "mount" | "manual""view"When the first spin plays: as the headline scrolls into view, as soon as it mounts, or only through the ref.
direction"left" | "right" | "center" | "edges" | "random""left"Order the reels stop in.
spinSpeednumber22Glyphs per second while a reel spins at full speed.
durationnumber0.5Seconds the reels spin before the first one stops.
staggernumber0.06Seconds between one reel stopping and the next.
bouncenumber0.45How much a reel overshoots and settles as it locks in, from 0 to 1.
blurnumber0.6Vertical motion blur on fast-spinning reels, from 0 to 1.
fadenumber0.7Shading at the top and bottom of each reel window while it spins, from 0 to 1.
flashnumber0.6Strength of the accent flash when a reel locks in, from 0 (none) to 1.
loopbooleanfalseSpin again every interval while the headline is on screen.
intervalnumber4Seconds between spins when loop is on.
flickablebooleantrueGrab a letter and flick it up or down: its reel spins with your momentum and always lands back on the right letter. Mouse and pen only, so touch scrolling is never captured.
clickToSpinbooleantrueClicking or tapping the headline pulls the lever and spins every reel.
spinOnHoverbooleanfalseSpin every reel when the pointer enters.
onComplete() => void—Called when the last reel locks in.
ref{ spin }—spin() pulls the lever from code.
classNamestring—Classes for the root element.
styleCSSProperties—Inline styles for the root element.
textstring

The headline. Changing it rolls the reels to the new words, so it works as a rotating headline.

Default"Your lucky number"
as"span" | "div" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6"

Element to render. Screen readers get the plain text.

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.

Default700
letterSpacingstring

Letter spacing as a CSS length.

Default"-0.03em"
lineHeightnumber

Line height, which is also the height of each reel's window.

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

Text alignment.

Default"center"
colorstring

Text colour. Leave unset to inherit from the page.

Defaultinherited
accentColorstring

Colour each letter flashes as its reel locks in, fading back to the text colour.

Default"#B15CFF"
charsetstring

Glyphs on the reels. "auto" matches each letter: capitals spin through capitals, lowercase through lowercase, digits through digits, all picked to the same width. Any other string is used as-is.

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

When the first spin plays: as the headline scrolls into view, as soon as it mounts, or only through the ref.

Default"view"
direction"left" | "right" | "center" | "edges" | "random"

Order the reels stop in.

Default"left"
spinSpeednumber

Glyphs per second while a reel spins at full speed.

Default22
durationnumber

Seconds the reels spin before the first one stops.

Default0.5
staggernumber

Seconds between one reel stopping and the next.

Default0.06
bouncenumber

How much a reel overshoots and settles as it locks in, from 0 to 1.

Default0.45
blurnumber

Vertical motion blur on fast-spinning reels, from 0 to 1.

Default0.6
fadenumber

Shading at the top and bottom of each reel window while it spins, from 0 to 1.

Default0.7
flashnumber

Strength of the accent flash when a reel locks in, from 0 (none) to 1.

Default0.6
loopboolean

Spin again every interval while the headline is on screen.

Defaultfalse
intervalnumber

Seconds between spins when loop is on.

Default4
flickableboolean

Grab a letter and flick it up or down: its reel spins with your momentum and always lands back on the right letter. Mouse and pen only, so touch scrolling is never captured.

Defaulttrue
clickToSpinboolean

Clicking or tapping the headline pulls the lever and spins every reel.

Defaulttrue
spinOnHoverboolean

Spin every reel when the pointer enters.

Defaultfalse
onComplete() => void

Called when the last reel locks in.

Default—
ref{ spin }

spin() pulls the lever from code.

Default—
classNamestring

Classes for the root element.

Default—
styleCSSProperties

Inline styles for the root element.

Default—