Hero Highlight
A background effect with a text highlight component, perfect for hero sections.
Installation
Run the following command
npx shadcn@latest add @aceternity/hero-highlight
Props
HeroHighlight
Props
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | N/A | The content to be displayed inside the HeroHighlight component. |
className | string (optional) | N/A | Additional CSS classes to apply to the child component for styling. |
containerClassName | string (optional) | N/A | Additional CSS classes to apply to the container component for styling. |
Highlight
Props
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | N/A | The content to be highlighted. |
className | string (optional) | N/A | Additional 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

