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

Hero Highlight

A background effect with a text highlight component, perfect for hero sections.

Open in

With insomnia, nothing's real. Everything is far away. Everything is a copy, of a copy, of a copy.

Installation

Run the following command

npx shadcn@latest add @aceternity/hero-highlight

Props

HeroHighlight Props

PropTypeDefaultDescription
childrenReact.ReactNodeN/AThe content to be displayed inside the HeroHighlight component.
classNamestring (optional)N/AAdditional CSS classes to apply to the child component for styling.
containerClassNamestring (optional)N/AAdditional CSS classes to apply to the container component for styling.

Highlight Props

PropTypeDefaultDescription
childrenReact.ReactNodeN/AThe content to be highlighted.
classNamestring (optional)N/AAdditional CSS classes to apply to the Highlight component for styling.

Inspiration for this component is taken from Designboost's Homepage

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