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. Backgrounds
  4. Glass & Chrome
  5. Glass Keys

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.

Glass Keys

A grid of glass keycaps that type, ripple and light up under the pointer

glass-keys-tw
pro.reactbits.dev
ComponentsBlocksTemplatesPricing
Get Pro

Built to be pressed

Premium animated components and blocks, crafted to make your next launch feel alive.

Get startedBrowse library
9:41

Built to be pressed

Premium animated components and blocks, crafted to make your next launch feel alive.

Get startedBrowse library

Built to be pressed

Premium animated components and blocks, crafted to make your next launch feel alive.

Get startedLearn more

Customize

Glass
Light
Background
Size
0.44
Spacing
0.32
Stagger
0.00
Height
0.50
Taper
0.72
Radius
0.08
Bevel
0.050
Dish
0.040
Tilt
42°
Angle
28°
IOR
1.50
Dispersion
1.60
Density
1.00
Frost
0.00
Glow
1.00
Backlight
1.00
Intensity
1.00
Light Speed
4.0°/s
Blur
0.60
Focus
0.50
Grain
0.30
Typing
1.00
Ripples
7.0s
Travel
0.32
Pulse
1.00
Parallax
0.50

Props

40
NameTypeDefaultDescription
colors[string, string]["#5227FF", "#FF7A27"]Glass colour and light colour. The glass colour tints the body; the light colour warms the highlights and the backlight.
backgroundColorstring"#0a0a0a"Colour behind the keys. Light backgrounds switch to a frosted, ink-like look.
sizenumber0.44Key width as a fraction of the frame's shorter side.
spacingnumber0.32Gap between keys as a fraction of a key.
staggernumber0Shifts each row sideways like a keyboard, as a fraction of a key.
heightnumber0.5Keycap height as a fraction of its width.
tapernumber0.72Width of the top compared with the base.
radiusnumber0.08Corner radius of the keycap as a fraction of its width.
bevelnumber0.05Roundness of the top edge, as a fraction of the key width.
dishnumber0.04How deeply the top curves inward. 0 is flat.
legendsbooleantruePrints a keyboard letter on each key. Pressed keys light it from below.
tiltnumber42How far the camera looks down on the keys, in degrees. 90 is straight down.
anglenumber28Rotation of the grid around its vertical axis, in degrees.
centerXnumber0Moves the grid sideways, as a fraction of the frame width.
centerYnumber0Moves the grid up or down, as a fraction of the frame height.
iornumber1.5Index of refraction. Higher values bend light more inside the glass.
dispersionnumber1.6How far the colours split at edges and bevels.
densitynumber1How strongly the glass colour tints light passing through. 0 is clear glass.
frostnumber0Softens reflections and refraction like frosted glass.
glownumber1Strength of the soft bloom around bright highlights.
backlightnumber1Brightness of the light under each key that shows when it is pressed.
intensitynumber1Overall exposure.
lightAnglenumber0Starting rotation of the lights around the scene, in degrees.
lightSpeednumber4How fast the lights drift around the keys, in degrees per second. 0 holds them still.
blurnumber0.6Depth of field. Keys nearer and farther than the focus soften like a macro photo. 0 keeps everything sharp.
focusnumber0.5Height of the sharp band, from 0 (top of the frame) to 1 (bottom).
grainnumber0.3Film grain over the lit keys.
typingnumber1Speed of the idle typing, in bursts of key presses. 0 turns it off.
ripplesnumber7Seconds between idle ripples across the keys. 0 turns them off.
travelnumber0.32How far a key sinks when pressed, as a fraction of its height.
interactivebooleantrueKeys press under the pointer, and a click sends a ripple.
pulsenumber1Strength of the click ripple.
parallaxnumber0.5How much the grid leans toward the pointer.
introbooleantrueKeys rise into place across the grid the first time it comes into view.
pausedbooleanfalseFreezes the animation.
qualitynumber1Render resolution scale, from 0.25 to 1. It also drops automatically on slow devices.
ref{ pulse, type, replay }—Sends a ripple from a point (0 to 1 on each axis), types a burst of keys, or replays the intro.
childrenReactNode—Content layered above the keys.
classNamestring—Classes for the root element.
styleCSSProperties—Inline styles for the root element.
colors[string, string]

Glass colour and light colour. The glass colour tints the body; the light colour warms the highlights and the backlight.

Default["#5227FF", "#FF7A27"]
backgroundColorstring

Colour behind the keys. Light backgrounds switch to a frosted, ink-like look.

Default"#0a0a0a"
sizenumber

Key width as a fraction of the frame's shorter side.

Default0.44
spacingnumber

Gap between keys as a fraction of a key.

Default0.32
staggernumber

Shifts each row sideways like a keyboard, as a fraction of a key.

Default0
heightnumber

Keycap height as a fraction of its width.

Default0.5
tapernumber

Width of the top compared with the base.

Default0.72
radiusnumber

Corner radius of the keycap as a fraction of its width.

Default0.08
bevelnumber

Roundness of the top edge, as a fraction of the key width.

Default0.05
dishnumber

How deeply the top curves inward. 0 is flat.

Default0.04
legendsboolean

Prints a keyboard letter on each key. Pressed keys light it from below.

Defaulttrue
tiltnumber

How far the camera looks down on the keys, in degrees. 90 is straight down.

Default42
anglenumber

Rotation of the grid around its vertical axis, in degrees.

Default28
centerXnumber

Moves the grid sideways, as a fraction of the frame width.

Default0
centerYnumber

Moves the grid up or down, as a fraction of the frame height.

Default0
iornumber

Index of refraction. Higher values bend light more inside the glass.

Default1.5
dispersionnumber

How far the colours split at edges and bevels.

Default1.6
densitynumber

How strongly the glass colour tints light passing through. 0 is clear glass.

Default1
frostnumber

Softens reflections and refraction like frosted glass.

Default0
glownumber

Strength of the soft bloom around bright highlights.

Default1
backlightnumber

Brightness of the light under each key that shows when it is pressed.

Default1
intensitynumber

Overall exposure.

Default1
lightAnglenumber

Starting rotation of the lights around the scene, in degrees.

Default0
lightSpeednumber

How fast the lights drift around the keys, in degrees per second. 0 holds them still.

Default4
blurnumber

Depth of field. Keys nearer and farther than the focus soften like a macro photo. 0 keeps everything sharp.

Default0.6
focusnumber

Height of the sharp band, from 0 (top of the frame) to 1 (bottom).

Default0.5
grainnumber

Film grain over the lit keys.

Default0.3
typingnumber

Speed of the idle typing, in bursts of key presses. 0 turns it off.

Default1
ripplesnumber

Seconds between idle ripples across the keys. 0 turns them off.

Default7
travelnumber

How far a key sinks when pressed, as a fraction of its height.

Default0.32
interactiveboolean

Keys press under the pointer, and a click sends a ripple.

Defaulttrue
pulsenumber

Strength of the click ripple.

Default1
parallaxnumber

How much the grid leans toward the pointer.

Default0.5
introboolean

Keys rise into place across the grid the first time it comes into view.

Defaulttrue
pausedboolean

Freezes the animation.

Defaultfalse
qualitynumber

Render resolution scale, from 0.25 to 1. It also drops automatically on slow devices.

Default1
ref{ pulse, type, replay }

Sends a ripple from a point (0 to 1 on each axis), types a burst of keys, or replays the intro.

Default—
childrenReactNode

Content layered above the keys.

Default—
classNamestring

Classes for the root element.

Default—
styleCSSProperties

Inline styles for the root element.

Default—