Pointer Highlight
A component that highlights text when it's in view, with a pointer and border.
The best way to grow is to
collaborate
Installation
Run the following command
npx shadcn@latest add https://ui.aceternity.com/registry/pointer-highlight.json
Examples
Inline Highlight
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
There has to be some
background to animate too
Props
Prop | Type | Required | Default | Description |
---|---|---|---|---|
children | React.ReactNode | Yes | - | The content to be wrapped by the pointer highlight effect |
rectangleClassName | string | No | - | Additional CSS classes to apply to the animated rectangle border |
pointerClassName | string | No | - | Additional CSS classes to apply to the pointer icon |
containerClassName | string | No | - | Additional CSS classes to apply to the container div |
Build websites faster and 10x better than your competitors with Aceternity UI Pro
With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.
Manu is the man! He is the best front-end developer I have worked with.
He took the requirements and quite literally ran with them. We are super happy with the result and product we go...
John Shahawy
Founder at Rogue and Moonbeam