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 https://ui.aceternity.com/registry/hero-highlight.json

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

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.

Go Pro
This service exceeded our expectations, since not only was the development technically flawless, but Manu and his team also acted as strategic partners by encouraging us to add ...

Georg Weingartner

CMO at Renderwork

A product by Aceternity
Building in public at @mannupaaji