About
Symmetrical workflow automation hero with curved trigger and action tracks, inline SVG app badges, traveling route pulses, and an interactive rule switcher.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Automation Hub Hero to your project and fits it to your theme.
Code
How Automation Hub Hero is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useEffect } from "react";
import AutomationHubHero, { TWENTY_FIRST_REFERRAL_URL } from "@/components/ui/automation-hub-hero";
const settings = {
badge: "{automations}",
headline: "One-click automation",
description:
"Trigger multi-step runs across your stack with automatic retries and audit logs.",
ctaLabel: "Book a demo",
showActiveRule: true,
autoCycle: false,
pulseDuration: 2.4,
showCornerGlow: true,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
useEffect(() => {
if (typeof window === "undefined") return;
const themeParam = new URLSearchParams(window.location.search).get("theme");
if (themeParam === "dark") {
document.documentElement.classList.add("dark");
} else if (themeParam === "light") {
document.documentElement.classList.remove("dark");
}
}, []);
return (
<div className="flex min-h-screen w-full items-center justify-center bg-background text-foreground">
<AutomationHubHero
className="min-h-screen"
badge={s.badge}
badgeHref={TWENTY_FIRST_REFERRAL_URL}
headline={s.headline}
description={s.description}
ctaLabel={s.ctaLabel}
ctaHref={TWENTY_FIRST_REFERRAL_URL}
showActiveRule={s.showActiveRule}
autoCycle={s.autoCycle}
pulseDuration={s.pulseDuration}
showCornerGlow={s.showCornerGlow}
/>
</div>
);
}
















