Variants
Spotlight Wordmark — a big pale Grabbit wordmark with a leaf for the dot of the i, a soft spotlight following the cursor and revealing it in full green

API Reference

Props for <SpotlightWordmark />

S

Motion score

Compositor-only

Category
Text Effects
Framework
React
Published
Dec 4, 2026
Dependencies
Variants

Spotlight Wordmark: a spotlight effect for React

A big pale word with a leaf in place of the dot on the i. A soft circle of light follows the cursor across it and shows the word in full color underneath. The word rises into place when first seen.

Use Spotlight Wordmark for a brand name that people discover by moving the mouse, on a hero, an about page or the last screen of a site. The spotlight effect keeps the word quiet until someone explores it. It's a Pro React component for Next.js, Vite and Astro with Tailwind CSS v4. More in this category.

What is Spotlight Wordmark?

Spotlight Wordmark is a spotlight effect for React that hides a word's real colors until the cursor finds them. The word rests in a pale tint, and a circle of light reveals a second, colored copy underneath. With leaf on, a small leaf replaces the dot on every lowercase i, so the word reads like a logo rather than a line of type.

How Spotlight Wordmark works

It uses text masking: two copies of the word sit on top of each other, and the colored copy only shows inside a soft, round mask. With interaction set to hover, the light opens under the cursor when it reaches the word, follows it on a spring and closes when it leaves. spotlightRadius (260 px) sets the light's largest size, and it never grows past 22% of the word's width. softness (0.65) sets how much of the edge fades out; 0 gives a hard-edged circle.

With entrance set to view, the word rises and fades in once, the first time it comes into view. It takes entranceDuration (0.9 s) and starts entranceDistance (35%) of its height below its final place. The word scales with the component's width up to maxSize (352 px), and a long word shrinks to fit on one line. It's built with Motion and CSS, with no canvas or WebGL.

Customization options

Change the word, the font, the resting and lit colors for the word and the leaf, the spotlight size and softness, and the entrance in the Customize panel, save a look as a variant, then install. The font isn't bundled, so load Outfit, or your own, in your app. The light only follows a mouse, so on touch screens the word stays in its pale tint.

Use cases

  • Food and grocery brands, with Default: pale sage letters that turn leaf green under the light.
  • Seasonal or playful labels, with Picnic: rounded blush letters that ripen to strawberry red, with a leaf over both i's.
  • Search and discovery products, with Flashlight: a flashlight effect with a small, hard-edged beam that turns grey letters ink black.
  • Restaurants and delis, with Candlelight: a soft serif on parchment, warmed to olive by a wide, slow glow.

FAQs