10% off on all-access. Use code SUPER10.
d :
h :
m :

Pointer Highlight

A component that highlights text when it's in view, with a pointer and border.

Loading...

Installation

Run the following command

npx shadcn@latest add @aceternity/pointer-highlight

Examples

Inline Highlight

Loading...

Color Variation

Loading...

Props

PropTypeRequiredDefaultDescription
childrenReact.ReactNodeYes-The content to be wrapped by the pointer highlight effect
rectangleClassNamestringNo-Additional CSS classes to apply to the animated rectangle border
pointerClassNamestringNo-Additional CSS classes to apply to the pointer icon
containerClassNamestringNo-Additional CSS classes to apply to the container div

Build websites faster and 10x better than your competitors with

Aceternity UI Pro

Next.js 15, Tailwind CSS v4 and Motion for react powered templates

70+ templates and component blocks combined

Ready to copy paste component blocks, save days of development time

Aceternity UI Pro Demo - Light Mode
Logo
Aceternity UI

Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

A product by Aceternity
Building in public at @mannupaaji

© 2026 Aceternity Labs LLC. All Rights Reserved.