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. Cursor Effects
  4. Parallax Pills

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.

Parallax Pills

Bouncy labeled pills that drift with the cursor

parallax-pills-tw
Components
Animations
Backgrounds
Text Effects
Blocks + Templates

Customize

Pill Height
64
Pill Radius
18
Font Size
18
Stagger
0.08
Entry Stiffness
140
Entry Damping
11.0
Entry Distance
220
Hinge Chance
0.50
Hinge Angle
18
Strength
24
Drift Stiffness
60
Drift Damping
18.0

Props

21
NameTypeDefaultDescription
pillsParallaxPillItem[]5 default pillsForeground pills. Each item has label, background, color, x/y/width as percentages, optional rotate and parallax multiplier
backgroundPillsOmit<ParallaxPillItem, 'label' | 'color'>[]6 decorative pillsDecorative unlabeled pills behind the foreground for depth
widthstring | number"100%"Container width
heightstring | number480Container height
classNamestring""Additional CSS classes for the outer container
pillRadiusnumber18Pill border-radius in px (8–48)
pillHeightnumber64Pill vertical height in px (32–120)
fontSizenumber18Label font size in px (10–32)
fontWeightnumber | string500Label font weight
parallaxStrengthnumber24Maximum cursor parallax displacement in px (mapped to ±strength) (0–80)
disableParallaxbooleanfalseDisable cursor parallax entirely
disableEmptyPillsbooleantrueHide the decorative unlabeled background pills
disableEntrybooleanfalseDisable the elastic entry animation; pills render in their resting state
entryStaggernumber0.08Stagger between pill entry animations in seconds (0–0.4)
entryStiffnessnumber140Spring stiffness for the entry bounce (40–400)
entryDampingnumber11Spring damping for the entry bounce; lower values overshoot more (4–30)
entryDistancenumber220How far above their resting position pills start, as a percent of pill height. Larger values make pills fall from higher up (50–800)
hingeChancenumber0.5Probability (0–1) that a pill enters with a hinge tilt. One end hanging lower as if heavier, then springing back
hingeAnglenumber18Magnitude of the initial hinge tilt in degrees; the heavy end starts this far past resting (0–45)
parallaxStiffnessnumber60Spring stiffness for the parallax drift (10–200)
parallaxDampingnumber18Spring damping for the parallax drift (4–40)
pillsParallaxPillItem[]

Foreground pills. Each item has label, background, color, x/y/width as percentages, optional rotate and parallax multiplier

Default5 default pills
backgroundPillsOmit<ParallaxPillItem, 'label' | 'color'>[]

Decorative unlabeled pills behind the foreground for depth

Default6 decorative pills
widthstring | number

Container width

Default"100%"
heightstring | number

Container height

Default480
classNamestring

Additional CSS classes for the outer container

Default""
pillRadiusnumber

Pill border-radius in px (8–48)

Default18
pillHeightnumber

Pill vertical height in px (32–120)

Default64
fontSizenumber

Label font size in px (10–32)

Default18
fontWeightnumber | string

Label font weight

Default500
parallaxStrengthnumber

Maximum cursor parallax displacement in px (mapped to ±strength) (0–80)

Default24
disableParallaxboolean

Disable cursor parallax entirely

Defaultfalse
disableEmptyPillsboolean

Hide the decorative unlabeled background pills

Defaulttrue
disableEntryboolean

Disable the elastic entry animation; pills render in their resting state

Defaultfalse
entryStaggernumber

Stagger between pill entry animations in seconds (0–0.4)

Default0.08
entryStiffnessnumber

Spring stiffness for the entry bounce (40–400)

Default140
entryDampingnumber

Spring damping for the entry bounce; lower values overshoot more (4–30)

Default11
entryDistancenumber

How far above their resting position pills start, as a percent of pill height. Larger values make pills fall from higher up (50–800)

Default220
hingeChancenumber

Probability (0–1) that a pill enters with a hinge tilt. One end hanging lower as if heavier, then springing back

Default0.5
hingeAnglenumber

Magnitude of the initial hinge tilt in degrees; the heavy end starts this far past resting (0–45)

Default18
parallaxStiffnessnumber

Spring stiffness for the parallax drift (10–200)

Default60
parallaxDampingnumber

Spring damping for the parallax drift (4–40)

Default18