reactdrops.dev
ComponentsSponsorsGitHub@_crisjav

Components that
make you stand out.

React components, animations, and effects. Preview them, make them yours, and bring them into your next project.

Browse componentsBrowse components
Sponsors
React Drops
ComponentsComponentsComponentsSponsorsSponsorsSponsors
GitHubGitHubGitHub@_crisjav@_crisjav@_crisjav

Getting Started

Components

Components

Backgrounds4

Fluid TypingShape PhysicsTopographic FlowTopographic Terrain

Text1

Refracted Text

Images1

Fractal Glass

Galleries2

Depth FieldFan Gallery

Logos2

Glass Slab LogoLiquid Glass Logo

Buttons & Inputs2

Bubble UIChromatic Button

Cursors1

Showcase Pointer

AI1

Liquid Glass Orb

Glass Slab Logo

Turns any logo into a stack of tinted glass discs, ray traced with refraction, reflection and absorption and seen from below like a product shot on a lit card. Every horizontal run of the logo becomes one disc; small pieces such as a leaf get their own finer stack. White and empty parts of the logo are cut out of the glass, so emblems, scripts and line art keep their gaps.

Controls

Effect preset
Color preset
Discs

Images

BackgroundImage or video · drop or click
LogoSVG or PNG · drop or click

Logo

Example logo
Render method
Logo scale
Cut position
Slice coverage
Discs per small piece

Glass

Theme
Top tint
Tint 2
Tint 3
Tint 4
Bottom tint
Color density
Thickness
Depth
Refractive index
Reflections
Color opacity

Camera and light

Camera angle (°)
Camera distance
Camera tilt
Lens blur
Focus
Background
Card light
Exposure
Studio light
Card size
Card distance

Motion and quality

Intro
Intro (s)
Delay (s)
Speed
Pointer tilt (°)
Rays per pixel
Loop delay
Loop
Paused

Export

Type
Aspect ratio
Resolution
Frame rate
Hold (s)

Properties

37 properties
PropertyTypeDefaultDescription
logostringbuilt-in markImage URL of the logo (SVG, PNG, data URL).
colorPresetcitrus | ocean | sunset | citrusDark | oceanDark | sunsetDark | clear | clearDark | oil | oilDark | nightcitrusTints and lighting preset. Explicit props override it.
renderModeauto | detailed | ellipsesautoDetailed cutout follows interior details and fine edges. Simple ellipses prioritize speed. Automatic chooses per logo.
colorsstring[]["#f3ef3e","#f1e409","#c3d006","#a1d512","#48cf17","#67ece0"]Glass tints from top to bottom, evenly spaced (2 to 6 hex colors).
backgroundColorstring#ffffffHex color or "transparent" for an alpha background.
backgroundImage / backgroundVideostring—Image or muted video drawn behind the glass and cropped to cover the frame.
backgroundVideoStart / backgroundVideoEndnumber0 / video endThe section of the background video that plays, in seconds.
backgroundX / backgroundY / backgroundScalenumber0 / 0 / 1Position as a percentage of the frame and zoom of the uploaded backdrop.
backgroundTint / backgroundTintOpacitystring / number#000000 / 0Color and opacity of the tint between the backdrop and the glass.
lightColorstring#ffffffColor of the lit card seen through the glass.
slabsnumber22Total rows of discs. Each logo gets a suggested count that you can adjust.
phasenumber0.75Where each disc samples the logo inside its band: 0 the top of the band, 1 the bottom.
bandnumber0How much of its slice each disc covers: 0 the width along the cut line, 1 the widest part of the slice.
minPieceSlabsnumber7Detached pieces (a leaf, a dot) get at least this many discs of their own.
thicknessnumber0.008Glass thickness as a share of the logo height. Thicker glass shows lighter edges.
depthnumber0.5Front-to-back size of each disc, relative to the spacing between discs.
iornumber1.42How strongly the glass bends light. 1.5 is window glass.
reflectivitynumber0Strength of the reflections on the glass.
densitynumber1Tint strength. In Oil, this sets the opacity of the glass body.
elevationnumber47How far below the logo the camera sits. Drag up or down in the preview to adjust.
distancenumber0.6In logo heights. Closer opens the top discs and flattens the bottom ones.
keystonenumber0Tilts the sensor up with the camera. The stack is reshaped so the logo keeps its outline.
aperturenumber0Lens opening. Softens the far edge of each disc while the near edges stay sharp.
focusnumber-1Depth in focus, in disc depths: -1 the near edges, 0 the middle of the discs.
exposurenumber1.18Brightness of the lit card behind the glass. Above 1 the colors saturate like a backlit photo.
ambientnumber0.05Light around the card. Dark outlines the glass with dark edges; bright makes them glow.
backdropSizenumber1.3Size of the lit card relative to the view. Smaller darkens more of each edge.
backdropDistancenumber4How far behind the logo the card stands, in logo heights.
logoScalenumber0.73Logo size relative to the shorter side.
tiltnumber3How far the camera orbits toward the pointer. 0 keeps it still.
introDurationnumber1.6Seconds for the expansion to climb from the bottom disc to the top one.
delaynumber0Seconds to wait before the glass starts expanding.
speednumber1Playback speed of the expansion.
samplesnumber48Rays traced per pixel once the image settles. More smooths edges and lens blur.
maxDprnumber | nullnullUse the device pixel ratio or set an explicit limit.
introbooleantrueExpand the discs from the bottom up when the logo first shows.
refGlassSlabLogoHandle—replay(), seek(seconds), pause() and play() control the glass and its video background.

Usage

Usage
import { GlassSlabLogo } from './components/glass-slab-logo';

export function Example() {
  return (
    <GlassSlabLogo
      logo="/logo.svg"
      colors={["#a8ecff","#62c6ff","#3f8cff","#5a5cff","#9a6bff"]}
      style={{ height: 520 }}
    />
  );
}

Free for personal and commercial projects. Redistributing components, kits or templates requires permission. Read the license.

On This Page

ControlsPropertiesUsage