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
Open in
Loading preview...

Installation

Terminal
$npx shadcn@latest add @vandoko/ace-hero-01

Usage

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
PropTypeDefaultDescription
childrenreq
ReactNodeContent to display inside the hero
className
stringAdditional CSS classes
containerClassName
stringClasses for the outer container

Highlight

2 props
PropTypeDefaultDescription
childrenreq
ReactNodeText to highlight
className
stringAdditional CSS classes

Dependencies

  • motion (Framer Motion)

Lineage

PropertyValue
Source@aceternity/hero-highlight
Version1.0.0
Curated2025-01-19
LicenseMIT

Modifications

  • oklch color conversion
  • Vandoko design token integration
  • bg-background instead of hardcoded colors

On this page