Introducing Aceternity UI Pro - 70+ premium component packs and templates to build amazing websites.
Logo

Pointer Highlight

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

Open in
The best way to grow is to
collaborate

Installation

Run the following command

npx shadcn@latest add @aceternity/pointer-highlight

Examples

Inline Highlight

Open in
collab tool
of the century with max benefits and minimal effort.

Our state of the art collab tool of the century with max benefits.

Discover our
innovative
solutions for your business needs.

Transforming ideas into reality with cutting-edge technology and expert guidance.

Experience the future with our
sustainable technology
.

Eco-friendly solutions designed for a better tomorrow and reduced environmental impact.

Color Variation

Open in
There has to be some
background to animate too

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
A product by Aceternity
Building in public at @mannupaaji