ProText
Spotlight Text
Text in the half-dark: a spotlight that follows the cursor lights up the letters and lifts them off the wall with a relief shadow.
- Plan
- Pro · commercial license
- Dependencies
- React only
- Props
- 7 (7 adjustable)
Included in Pro and Lifetime. See pricing
In the
spotlight
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | "In the\\nspotlight" | The text (line breaks are supported). |
size | number | 92 | Letter size, in px. |
radius | number | 190 | Radius of the spotlight, in px. |
relief | number | 1 | How far the letters stand off the wall, which lengthens their shadow. |
idle | boolean | true | When the cursor isn't near, the spotlight wanders on its own. |
color | string | "#FBF4E8" | Color of the lit letters. |
glow | string | "#FFE2B0" | Warm color of the light on the wall. |
Installation
With your license
1Set up the Pro registry once
Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.
Use my license2Install Spotlight Text
npx shadcn@latest add @furin-pro/ spotlight-textDependencies
- React
- 18 or later
- Other libraries
- none
- License
- commercial
Pro components install into your project: the code is yours and there's nothing else to download.
Keep exploring
Geometric color blocks sweep in behind key words, and the text ink inverts right under the block.
Text