ham7a311

Ticker Ring Button

Buttons 9

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

    253
  • Route Globe

    Route Globe

    195
  • Glass Tiles

    Glass Tiles

    183
  • Orbit Ring Stats

    Orbit Ring Stats

    82
  • Glyph Swell

    Glyph Swell

    78
  • Fan Deck Card

    Fan Deck Card

    77
  • Ask Bar

    Ask Bar

    63
  • Glass Ribbons

    Glass Ribbons

    53

More in Buttons

View all
  • Button

    Button

    169
  • Texture Button

    Texture Button

    122
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    1
  • Button Group

    Button Group

    5