Gold Foil Text
Gold foil text with relief and a specular glint as you move the cursor.
- Plan
- Free · MIT
- Dependencies
- React only
- Props
- 7 (7 adjustable)
Free forever
MIT license, for personal and commercial projects. See installation
GOLD
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | "GOLD" | The text stamped in gold foil (line breaks supported). |
size | number | 112 | Letter size, in px. |
relief | number | 0.6 | Depth of the relief: edge bevel and foil wrinkles (0 to 1). |
grain | number | 0.6 | Amount of micro-grain glittering in the foil (0 to 1). |
intensity | number | 1 | Brightness of the studio light the gold reflects. |
tint | string | "#f6c453" | Color of the foil (warm gold by default). |
sweep | boolean | true | Lets the reflection wander on its own when there is no cursor. |
Installation
Install it
1Install the package
npm i furin-ui2Import it
import { GoldFoilText } from "furin-ui";Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.
Dependencies
- React
- 18 or later
- WebGL 2
- in the browser
- Other libraries
- none
- License
- MIT
Each file ships its own CSS: there's nothing else to install.
Keep exploring
Magnetic Letters
FreeEvery letter is pulled toward the cursor by a bouncy spring, tinting and growing as it gets close.
Text