0Views
0Copies

API Reference
Props for <GlassLetter />
| Prop | Type | Default | Description |
|---|---|---|---|
| letter | string | "" | One letter, digit or symbol to show instead of the Bitcoin mark; empty shows the mark. |
| font | FontValue | {"fontFamily":"Inter","fontWeight":800} | The letter's family and weight. The component doesn't load the font: add it to your app. |
| glassColor | string | "#ffffff" | Tints the light passing through the glass; white is clear. |
| beamColor | string | "#ffffff" | The soft beams behind the letter and the streaks they leave inside it. |
| lightColor | string | "#ffffff" | The studio strips the glass reflects along its edges. |
| rimColor | string | "#ffffff" | The strip catching the lower left edges. |
| studioColor | string | "#17171b" | What the glass looks through: close to the surface behind it reads as clear glass. |
| size | number | 520 | The component’s width and height; it shrinks to fit a smaller parent or screen. |
| letterSize | number | 66 | The letter’s height, as a share of the component. |
| tilt | number | 14 | How far the letter leans as it faces you: positive leans right, negative left, 0 stands upright. |
| depth | number | 1 | How deep the letter is. |
| bevel | number | 1 | How wide and deep its rounded edges are. |
| speed | number | 26 | How fast the letter turns on its own; negative turns the other way. |
| float | number | 1 | How far the letter bobs up and down. |
| follow | number | 18 | How far the letter leans toward the pointer. |
| dragSpeed | number | 1 | How far a drag turns the letter. |
| momentum | number | 0.96 | How long the letter keeps spinning after a drag. |
| shimmer | number | 1 | How far the film’s colors drift over time. |
| beamDrift | number | 1 | How fast the beams drift sideways. |
| autoRotate | boolean | true | The letter turns on its own; off, it only turns when dragged or leaning toward the pointer. |
| draggable | boolean | true | Dragging the letter sideways spins it. |
| entrance | boolean | true | The letter fades in and settles to its size when it first shows. |
| followArea | 'page' | 'component' | "page" | Where the pointer is followed: over the whole page or only over the component. |
| refraction | number | 0.9 | How strongly the glass bends what is behind it. |
| frost | number | 0 | 0 is polished glass, higher is frosted. |
| rainbow | number | 0.12 | How strongly the edges split into a rainbow. |
| sheen | number | 0.22 | The holographic color film on the glass. |
| shine | number | 1 | Brightness of the reflections. |
| beamStrength | number | 1.1 | Brightness of the beams behind the glass. |
| beamAngle | number | 24 | The beams’ slant from upright. |
| edgeFade | number | 6 | How much of each edge the beams fade out over. |
- Category
- 3D Elements
- Framework
- React
- Published
- Nov 20, 2026
- Dependencies
- Variants
Glass Letter
Any letter you type, or the Bitcoin symbol, in clear 3D glass that splits light into a rainbow at its edges, over slanted beams of studio light. It turns slowly, shimmers, leans toward the pointer and spins with momentum when dragged. The glass, its light and colors, the beams, size, depth and motion can all be set.