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. Backgrounds
  4. Eclipse

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.

Eclipse

A dark shape eclipsing a soft, color-shifting corona of light

eclipse-tw

Customize

First Color
Second Color
Background
Size
0.36
Offset X
0.00
Offset Y
0.00
Rotation
0°
Spin
2.0°/s
Roundness
0.20
Wobble
0.030
Light Angle
-35°
Light Offset
0.12
Corona
1.00
Intensity
1.00
Rim
1.00
Softness
0.20
Contrast
0.35
Interior
0.00
Streaks
0.00
Ambient
0.35
Speed
1.00
Parallax
0.50
Flare
1.00
Bloom
0.50
Grain
0.30

Props

33
NameTypeDefaultDescription
colors[string, string]["#5227FF", "#FF9FFC"]The two colours of the light, blended around the eclipse. The deep field colour is derived from the first. On light backgrounds they become matching inks.
backgroundColorstring"transparent"Background of the component. Transparent reads the colour behind the component.
shape"circle" | "blob" | "triangle" | "diamond" | "pentagon" | "hexagon""circle"The dark shape in front of the light.
sizenumber0.36Radius of the shape as a share of the frame height. Larger values crop it.
offsetXnumber0Moves the eclipse sideways, as a share of the frame width.
offsetYnumber0Moves the eclipse down (positive) or up (negative), as a share of the frame height.
rotationnumber0Rotation of the shape, in degrees.
spinnumber2Slow rotation of the shape, in degrees per second.
roundnessnumber0.2Rounds the corners of the polygon shapes.
wobblenumber0.03Slow organic breathing of the outline.
lightAnglenumber-35Direction the light leaks from, in degrees (0 is right, 90 is up).
lightOffsetnumber0.12How far the light sits behind the shape off-centre, which thickens the crescent on that side.
coronanumber1How far the glow spreads out from the shape.
intensitynumber1Brightness of the light.
rimnumber1Width of the coloured band of light just inside the shape's edge.
softnessnumber0.2Blur of the shape's silhouette.
contrastnumber0.35How much brighter the lit side is than the far side.
interiornumber0Lets a sweep of colour show through the shape, like light behind smoked glass.
streaksnumber0Soft radial streaks running through the glow.
ambientnumber0.35Strength of the deep colour washing the space around the eclipse.
speednumber1Speed of the drifting light, colour and outline.
parallaxnumber0.5How far the light peeks around the shape toward the pointer.
interactivebooleantrueClick or tap to make the light flare out from that side of the shape.
flareStrengthnumber1Brightness of the flare a click sends out, from 0 to 2.
bloomnumber0.5Soft glow around the brightest light.
grainnumber0.3Fine film grain over the lit areas.
introbooleantrueThe corona brightens and spreads out from the shape when the component appears.
pausedbooleanfalseStops the motion. Reduced-motion users get a still eclipse.
dprnumber2Maximum device pixel ratio for the canvas.
childrenReactNode—Content laid over the scene. Clicks on its links and buttons never trigger flares.
ref{ flare, replay }—flare(angle?, strength?) sends a flare from an angle in degrees, replay() plays the intro again.
classNamestring—Classes for the root element. It fills its parent, with a 320px minimum height.
styleCSSProperties—Inline styles for the root element.
colors[string, string]

The two colours of the light, blended around the eclipse. The deep field colour is derived from the first. On light backgrounds they become matching inks.

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

Background of the component. Transparent reads the colour behind the component.

Default"transparent"
shape"circle" | "blob" | "triangle" | "diamond" | "pentagon" | "hexagon"

The dark shape in front of the light.

Default"circle"
sizenumber

Radius of the shape as a share of the frame height. Larger values crop it.

Default0.36
offsetXnumber

Moves the eclipse sideways, as a share of the frame width.

Default0
offsetYnumber

Moves the eclipse down (positive) or up (negative), as a share of the frame height.

Default0
rotationnumber

Rotation of the shape, in degrees.

Default0
spinnumber

Slow rotation of the shape, in degrees per second.

Default2
roundnessnumber

Rounds the corners of the polygon shapes.

Default0.2
wobblenumber

Slow organic breathing of the outline.

Default0.03
lightAnglenumber

Direction the light leaks from, in degrees (0 is right, 90 is up).

Default-35
lightOffsetnumber

How far the light sits behind the shape off-centre, which thickens the crescent on that side.

Default0.12
coronanumber

How far the glow spreads out from the shape.

Default1
intensitynumber

Brightness of the light.

Default1
rimnumber

Width of the coloured band of light just inside the shape's edge.

Default1
softnessnumber

Blur of the shape's silhouette.

Default0.2
contrastnumber

How much brighter the lit side is than the far side.

Default0.35
interiornumber

Lets a sweep of colour show through the shape, like light behind smoked glass.

Default0
streaksnumber

Soft radial streaks running through the glow.

Default0
ambientnumber

Strength of the deep colour washing the space around the eclipse.

Default0.35
speednumber

Speed of the drifting light, colour and outline.

Default1
parallaxnumber

How far the light peeks around the shape toward the pointer.

Default0.5
interactiveboolean

Click or tap to make the light flare out from that side of the shape.

Defaulttrue
flareStrengthnumber

Brightness of the flare a click sends out, from 0 to 2.

Default1
bloomnumber

Soft glow around the brightest light.

Default0.5
grainnumber

Fine film grain over the lit areas.

Default0.3
introboolean

The corona brightens and spreads out from the shape when the component appears.

Defaulttrue
pausedboolean

Stops the motion. Reduced-motion users get a still eclipse.

Defaultfalse
dprnumber

Maximum device pixel ratio for the canvas.

Default2
childrenReactNode

Content laid over the scene. Clicks on its links and buttons never trigger flares.

Default—
ref{ flare, replay }

flare(angle?, strength?) sends a flare from an angle in degrees, replay() plays the intro again.

Default—
classNamestring

Classes for the root element. It fills its parent, with a 320px minimum height.

Default—
styleCSSProperties

Inline styles for the root element.

Default—