Components
Ace Hero 01
A hero section with interactive dot pattern background and animated text highlighting.
Ace Hero 01
A hero section with interactive dot pattern background and animated text highlighting. Perfect for dealer landing pages and attention-grabbing headers.
Preview
Loading preview...
Installation
Terminal
$npx shadcn@latest add @vandoko/ace-hero-01Usage
import { HeroHighlight, Highlight } from "@/components/ace-hero-01";
export default function Page() {
return (
<HeroHighlight>
<h1 className="text-4xl font-bold">
Welcome to <Highlight>Your Brand</Highlight>
</h1>
</HeroHighlight>
);
}Features
- Interactive Background - Dot pattern that responds to mouse movement
- Text Highlighting - Animated highlight effect for emphasis
- Responsive - Works on all screen sizes
- Customizable - Easily adjust colors and content
Props
HeroHighlight
3 props
| Prop | Type | Default | Description |
|---|---|---|---|
childrenreq | ReactNode | — | Content to display inside the hero |
className | string | — | Additional CSS classes |
containerClassName | string | — | Classes for the outer container |
Highlight
2 props
| Prop | Type | Default | Description |
|---|---|---|---|
childrenreq | ReactNode | — | Text to highlight |
className | string | — | Additional CSS classes |
Dependencies
motion(Framer Motion)
Lineage
| Property | Value |
|---|---|
| Source | @aceternity/hero-highlight |
| Version | 1.0.0 |
| Curated | 2025-01-19 |
| License | MIT |
Modifications
- oklch color conversion
- Vandoko design token integration
bg-backgroundinstead of hardcoded colors