Syed

Ai Search Hero

Heroes 5

About

SaaS hero section with staggered blur-to-sharp line reveals followed by inline AI platform squircle badges that expand in-flow to part surrounding words.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Ai Search Hero to your project and fits it to your theme.

Code

How Ai Search Hero is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import React from "react";
import { AiSearchHero } from "@/components/ui/ai-search-hero";

const settings = {
  theme: "dark",
  subtitle:
    "Cited checks what Google and AI assistants say about your brand every day, and shows you which pages to fix so they mention you more.",
  primaryCtaText: "Start for free",
  secondaryCtaText: "See it on your site",
  animateOnMount: true,
  staggerDelay: 0.09,
};

export default function AiSearchHeroDemo(props: Partial<typeof settings>) {
  const config = { ...settings, ...props };

  const theme: "auto" | "dark" | "light" =
    config.theme === "light" || config.theme === "auto"
      ? config.theme
      : "dark";

  const staggerDelay =
    typeof config.staggerDelay === "number" &&
    Number.isFinite(config.staggerDelay)
      ? Math.max(0, Math.min(0.4, config.staggerDelay))
      : 0.09;

  const canvasBg =
    theme === "light"
      ? "bg-[#FAFAFA]"
      : theme === "dark"
        ? "bg-[#0A0A0A]"
        : "bg-background";

  return (
    <div
      className={`w-full min-h-[460px] flex items-center justify-center p-4 sm:p-8 transition-colors duration-200 ${canvasBg}`}
    >
      <AiSearchHero
        key={`${String(config.animateOnMount)}-${staggerDelay}`}
        theme={theme}
        subtitle={
          typeof config.subtitle === "string"
            ? config.subtitle
            : settings.subtitle
        }
        primaryCtaText={
          typeof config.primaryCtaText === "string"
            ? config.primaryCtaText
            : settings.primaryCtaText
        }
        secondaryCtaText={
          typeof config.secondaryCtaText === "string"
            ? config.secondaryCtaText
            : settings.secondaryCtaText
        }
        animateOnMount={Boolean(config.animateOnMount)}
        staggerDelay={staggerDelay}
      />
    </div>
  );
}

Dependencies

More by Syed

View all
  • Animated Beam Integration

    Animated Beam Integration

    136
  • Agency Bento Grid

    Agency Bento Grid

    87
  • Morphing Island Navbar

    Morphing Island Navbar

    77
  • Animated Tree View

    Animated Tree View

    58
  • Interactive Eye Tracker

    Interactive Eye Tracker

    57
  • Rolling Counter

    Rolling Counter

    56
  • SpatialCardCarousel

    SpatialCardCarousel

    47
  • Grid Testimonials Marquee

    Grid Testimonials Marquee

    43

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    440
  • Editorial Collage Hero

    Editorial Collage Hero

    501
  • Aero Hero-3

    Aero Hero-3

    614
  • Hero 03

    Hero 03

    373