reframe/ui
reframe/ui

Command Palette

Search for a command to run...

Mask Cursor Text

But wait—our brownies are legendary: gooey, chocolatey, and impossible to resist. Go ahead, treat yourself!

Installation

Install Dependencies

Copy and Paste the component

@/components/reframe-ui/mask-cursor-text.tsx
PRO COMPONENT

Unlock with PRO

This component is exclusive to reframe/ui PRO.
Get instant access to all premium components and templates.

Usage

Props

NameTypeDefaultRequiredDescription
baseTextstring-YesBase (normal) text content rendered under the mask.
maskTextstring-YesText content revealed inside the mask area.
classNamestring-NoWrapper class (controls layout/width).
baseClassNamestring-NoClasses for the base text layer (color/typography).
maskTextClassNamestring-NoClasses for the masked (revealed) text layer.
maskBgClassNamestring-NoBackground color classes applied to the overlay so the base text is fully covered where masked.
initialSizenumber40NoInitial mask diameter in pixels.
hoverSizenumber320NoMask diameter in pixels on hover.
© Copyright 2025. All rights reserved.Built by @thommysart