Yura Dubinin

Slot Headline

Heroes 70

About

Hero title whose last word scrolls like a slot machine through the most popular coding agents

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

Code

How Slot Headline is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { SlotHeadline, CODING_AGENTS } from "@/components/ui/slot-headline";

export const settings = {
    prefix: "Deploy your apps from",
    interval: 1900,
    duration: 600,
};

type DemoProps = {
    prefix?: string;
    interval?: number;
    duration?: number;
};

export default function SlotHeadlineDemo(props: DemoProps) {
    const { prefix, interval, duration } = { ...settings, ...props };

    return (
        <div className="flex w-full items-center justify-center px-6 py-24">
            <SlotHeadline
                prefix={prefix}
                items={CODING_AGENTS}
                interval={interval}
                duration={duration}
                className="max-w-[896px]"
            />
        </div>
    );
}

More by Yura Dubinin

View all
  • Black Hole Hero Section

    Black Hole Hero Section

    2.1K
  • Squeeze Carousel

    Squeeze Carousel

    1.2K
  • Tetris Loader

    Tetris Loader

    640
  • Orbital Hero Section

    Orbital Hero Section

    477
  • Airlock Spaceship Hero

    Airlock Spaceship Hero

    400
  • Ghibli Robot Hero

    Ghibli Robot Hero

    171
  • Aurora Credit Card Bento

    Aurora Credit Card Bento

    92
  • Snake Loader

    Snake Loader

    77

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    919
  • HeroSectionWithGradient

    HeroSectionWithGradient

    334
  • Editorial Collage Hero

    Editorial Collage Hero

    425
  • Hero 03

    Hero 03

    313
  • Glass Fold

    Glass Fold

    194