0Views
0Copies
Variants
Loading preview...
API Reference
Props for <LensWordmark />
| Prop | Type | Default | Description |
|---|---|---|---|
| backgroundColor | string | "#1a0907" | The surface behind the letters; the mist at the bottom is made from it, and transparent shows your page through. |
| color | string | "rgb(255, 241, 238)" | The letters’ fill at their tops. |
| midColor | string | "rgba(246, 190, 182, 0.9)" | The fill halfway down the letters. |
| bottomColor | string | "rgba(222, 98, 84, 0.55)" | The fill towards the baseline, where the letters blur away. |
| outlineColor | string | "rgba(255, 236, 232, 0.85)" | The thin outline the lens reveals. |
| glassColor | string | "rgba(255, 226, 220, 0.08)" | The faint fill inside the outline under the lens. |
| glowColor | string | "rgba(255, 214, 206, 0.24)" | The soft glow along each letter’s inner edge under the lens. |
| boxColor | string | "rgba(255, 255, 255, 0.5)" | The construction boxes’ frames. |
| labelColor | string | "rgba(255, 255, 255, 0.7)" | The coordinates written in each box. |
| lineColor | string | "#e63b2e" | The lines joining the boxes. |
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | "Torvanta" | The word; short words fill the width with taller letters. |
| font | FontValue | {"fontFamily":"Geist","fontWeight":500,"letterSpacing":"-0.05em"} | The word’s family, weight and letter spacing; the size follows the width. The component doesn’t load the font: add it to your app. |
| labelFont | FontValue | {"fontFamily":"Geist Mono","fontWeight":400} | The coordinates’ family and weight. The component doesn’t load the font: add it to your app. |
| align | 'top' | 'center' | 'bottom' | "bottom" | Where the word sits in the background: standing on the bottom edge, in the middle or hanging from the top. |
| Prop | Type | Default | Description |
|---|---|---|---|
| lensSize | number | 100 | Radius of the lens, as a share of the letters’ height. |
| blur | number | 0.45 | How soft the letters get as they sink into the bottom edge, as a share of the width. |
| mist | number | 70 | How strongly the background rises as a mist over the bottom of the letters. |
| inset | number | 0 | Space on each side of the word, as a share of the width. |
| outlineWidth | number | 1.5 | Thickness of the outline the lens reveals. |
| lensSoftness | number | 65 | How soft the lens’s rim is: 0 is a hard-edged circle, 100 fades from the very centre. |
| boxSize | number | 62 | Size of each construction box; the grid they snap to grows with it. |
| lineWidth | number | 1.25 | Thickness of the triangle’s lines. |
| drift | number | 6 | How far the boxes hover round their cells; 0 keeps them still. |
| Prop | Type | Default | Description |
|---|---|---|---|
| showGuides | boolean | true | Shows the construction boxes and their triangle round the pointer. |
| showLabels | boolean | true | Writes each box’s position inside it. |
| Prop | Type | Default | Description |
|---|---|---|---|
| kerning | Record<string, number> | — | Extra space before the second letter of a pair, in em, such as { rv: 0.07 } (the default) to open up “rv”. |
B
Motion score
Measure before composite
- Category
- Text Effects
- Framework
- React
- Published
- Dec 4, 2026
- Dependencies
- Variants
Lens Wordmark
A giant wordmark that fills the width and stands on the bottom edge, sharp at the top and blurring into a soft mist as it sinks. Under the pointer a lens turns the letters into glass outlines while three construction boxes snap to a hidden grid round it, joined by a drifting red triangle. Set the word, font, gradient, outline, guide colors, lens size, blur and mist.