ham7a311

Ticker Ring Button

Buttons

About

A pill-shaped button whose short announcement scrolls like a news ticker around its border, slowing down on hover or focus so it can be read.

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

Code

How Ticker Ring Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { TickerRingButton } from "@/components/ui/ticker-ring-button";

export default function Demo() {
  return (
    <div className="flex min-h-full w-full items-center justify-center p-8 bg-[#0d0b0a]">
      <div className="flex flex-col items-center gap-6 text-center">
        <div>
          <p className="font-mono text-[0.6875rem] uppercase tracking-[0.16em] text-[#9c938a]">
            Bait Al Luban · Mutrah Corniche
          </p>
          <p className="mt-2 font-[family-name:Instrument_Serif] text-[2.25rem] leading-none text-[#efe8dc]">
            Omani kitchen, harbour view
          </p>
        </div>
        <TickerRingButton
          theme="night"
          label="Book a table"
          ticker="Winter menu from 14 Nov"
        />
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    198
  • Route Globe

    Route Globe

    161
  • Glass Tiles

    Glass Tiles

    151
  • Orbit Ring Stats

    Orbit Ring Stats

    62
  • Glyph Swell

    Glyph Swell

    60
  • Ask Bar

    Ask Bar

    51
  • Fan Deck Card

    Fan Deck Card

    42
  • Intent Label

    Intent Label

    41

More in Buttons

View all
  • Hero Button

    Hero Button

    21
  • Button

    Button

    141
  • Eclipse Button

    Eclipse Button

    9
  • Button

    Button

    19
  • Texture Button

    Texture Button

    110
  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    64
  • HeroUI Toggle Button

    HeroUI Toggle Button

  • Icon Label Subtext Button

    Icon Label Subtext Button

    65