0Views
0Copies

API Reference
Props for <ThermalHeadline />
| Prop | Type | Default | Description |
|---|---|---|---|
| effect | 'lens' | 'spotlight' | 'viewfinder' | 'loupe' | "lens" | How the headline answers the pointer: a round lens, a soft spotlight, a bracketed camera frame, or a glass loupe that magnifies. |
| color | string | "#141414" | The letters at rest. |
| accentColor | string | "#141414" | The accent word at rest. |
| coreColor | string | "#f6d08a" | The heat ramp at the middle of the lens. |
| innerColor | string | "#f5a07a" | The heat ramp's second color. |
| midColor | string | "#e88bb3" | The heat ramp's third color. |
| outerColor | string | "#a98ae6" | The heat ramp's fourth color. |
| edgeColor | string | "#8593ea" | The heat ramp at the edge of the lens. |
| loupeColor | string | "#ffffff" | The paper seen through the loupe's glass. |
| backgroundColor | string | "rgba(0, 0, 0, 0)" | The surface behind the headline; transparent shows the page through. |
| lines | Array<{ text, accent, ending }> | [{"text":"We fire ideas","accent":"","ending":""},{"text":"until they","accent":"glow.","ending":""}] | The headline's lines, top to bottom. |
| uppercase | boolean | true | Sets everything in capitals. |
| lensItalic | boolean | true | Slants the letters inside the lens, with the font's own italic when your app loads it. |
| font | FontValue | {"fontFamily":"Roboto Condensed","fontWeight":900,"lineHeight":0.9,"letterSpacing":"-0.01em"} | The headline's family, weight, line height and letter spacing. The component doesn’t load the font: add it to your app. |
| accentFont | FontValue | {"fontFamily":"Handjet","fontWeight":600,"letterSpacing":"0.02em"} | The accent word's family, weight and letter spacing. The component doesn’t load the font: add it to your app. |
| lensFont | FontValue | {"fontFamily":"Instrument Serif","fontWeight":400} | The family and weight of the letters inside the lens. The component doesn’t load the font: add it to your app. |
| align | 'left' | 'center' | 'right' | "left" | How the lines line up. |
| size | number | 176 | The largest font size; it scales down so the longest line always fits the width. |
| accentScale | number | 114 | Size of the accent word, as a share of the headline's. |
| lensScale | number | 112 | Size of the letters inside the lens, as a share of the headline's. |
| wordSpacing | number | -0.06 | Space added to each gap between words; negative tightens. |
| padding | number | 0 | Space around the text. |
| radius | number | 0 | Corner radius of the surface. |
| lensSize | number | 80 | Radius of the lens or loupe, or half the height of the viewfinder, as a share of the font size. |
| follow | number | 18 | How closely the lens follows the pointer; lower trails further behind. |
| openSpeed | number | 12 | How quickly the lens opens and closes. |
| scanlines | number | 40 | How far the scanlines darken the letters inside the lens. |
| scanlineGap | number | 3 | Distance from one scanline to the next. |
| glow | number | 30 | How strongly the spotlight lights the surface behind the letters. |
| zoom | number | 135 | How much the loupe magnifies the letters. |
| entrance | boolean | true | The lines wipe in from the left the first time the headline is seen; off starts it complete. |
| wipeDuration | number | 0.9 | How long each line takes to wipe in. |
| lineStagger | number | 0.14 | Time between one line starting and the next. |
- Category
- Text Effects
- Framework
- React
- Published
- Nov 20, 2026
- Dependencies
- Variants
Thermal Headline
A large headline that shows its heat on hover through one of four lenses: a round thermal lens that glides after the pointer, a soft spotlight that lights the surface behind the letters, a bracketed camera viewfinder, or a glass loupe that magnifies the words. The lines, accent word, fonts, colors, effect and entrance can all be set.