Components that
make you stand out.
React components, animations, and effects. Preview them, make them yours, and bring them into your next project.


















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.
| Property | Type | Default | Description |
|---|---|---|---|
logo | string | built-in mark | Image URL of the logo (SVG, PNG, data URL). |
colorPreset | citrus | ocean | sunset | citrusDark | oceanDark | sunsetDark | clear | clearDark | oil | oilDark | night | citrus | Tints and lighting preset. Explicit props override it. |
renderMode | auto | detailed | ellipses | auto | Detailed cutout follows interior details and fine edges. Simple ellipses prioritize speed. Automatic chooses per logo. |
colors | string[] | ["#f3ef3e","#f1e409","#c3d006","#a1d512","#48cf17","#67ece0"] | Glass tints from top to bottom, evenly spaced (2 to 6 hex colors). |
backgroundColor | string | #ffffff | Hex color or "transparent" for an alpha background. |
backgroundImage / backgroundVideo | string | — | Image or muted video drawn behind the glass and cropped to cover the frame. |
backgroundVideoStart / backgroundVideoEnd | number | 0 / video end | The section of the background video that plays, in seconds. |
backgroundX / backgroundY / backgroundScale | number | 0 / 0 / 1 | Position as a percentage of the frame and zoom of the uploaded backdrop. |
backgroundTint / backgroundTintOpacity | string / number | #000000 / 0 | Color and opacity of the tint between the backdrop and the glass. |
lightColor | string | #ffffff | Color of the lit card seen through the glass. |
slabs | number | 22 | Total rows of discs. Each logo gets a suggested count that you can adjust. |
phase | number | 0.75 | Where each disc samples the logo inside its band: 0 the top of the band, 1 the bottom. |
band | number | 0 | How much of its slice each disc covers: 0 the width along the cut line, 1 the widest part of the slice. |
minPieceSlabs | number | 7 | Detached pieces (a leaf, a dot) get at least this many discs of their own. |
thickness | number | 0.008 | Glass thickness as a share of the logo height. Thicker glass shows lighter edges. |
depth | number | 0.5 | Front-to-back size of each disc, relative to the spacing between discs. |
ior | number | 1.42 | How strongly the glass bends light. 1.5 is window glass. |
reflectivity | number | 0 | Strength of the reflections on the glass. |
density | number | 1 | Tint strength. In Oil, this sets the opacity of the glass body. |
elevation | number | 47 | How far below the logo the camera sits. Drag up or down in the preview to adjust. |
distance | number | 0.6 | In logo heights. Closer opens the top discs and flattens the bottom ones. |
keystone | number | 0 | Tilts the sensor up with the camera. The stack is reshaped so the logo keeps its outline. |
aperture | number | 0 | Lens opening. Softens the far edge of each disc while the near edges stay sharp. |
focus | number | -1 | Depth in focus, in disc depths: -1 the near edges, 0 the middle of the discs. |
exposure | number | 1.18 | Brightness of the lit card behind the glass. Above 1 the colors saturate like a backlit photo. |
ambient | number | 0.05 | Light around the card. Dark outlines the glass with dark edges; bright makes them glow. |
backdropSize | number | 1.3 | Size of the lit card relative to the view. Smaller darkens more of each edge. |
backdropDistance | number | 4 | How far behind the logo the card stands, in logo heights. |
logoScale | number | 0.73 | Logo size relative to the shorter side. |
tilt | number | 3 | How far the camera orbits toward the pointer. 0 keeps it still. |
introDuration | number | 1.6 | Seconds for the expansion to climb from the bottom disc to the top one. |
delay | number | 0 | Seconds to wait before the glass starts expanding. |
speed | number | 1 | Playback speed of the expansion. |
samples | number | 48 | Rays traced per pixel once the image settles. More smooths edges and lens blur. |
maxDpr | number | null | null | Use the device pixel ratio or set an explicit limit. |
intro | boolean | true | Expand the discs from the bottom up when the logo first shows. |
ref | GlassSlabLogoHandle | — | replay(), seek(seconds), pause() and play() control the glass and its video background. |