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-[#f1ece0]">
      <div className="flex flex-col items-center gap-6 text-center">
        <div>
          <p className="font-mono text-[0.6875rem] uppercase tracking-[0.16em] text-[#6f6a62]">
            Bait Al Luban · Mutrah Corniche
          </p>
          <p className="mt-2 font-[family-name:Instrument_Serif] text-[2.25rem] leading-none text-[#1d3b2f]">
            Omani kitchen, harbour view
          </p>
        </div>
        <TickerRingButton
          theme="paper"
          label="Book a table"
          ticker="Winter menu from 14 Nov"
        />
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    209
  • Route Globe

    Route Globe

    166
  • Glass Tiles

    Glass Tiles

    155
  • Orbit Ring Stats

    Orbit Ring Stats

    67
  • Glyph Swell

    Glyph Swell

    64
  • Ask Bar

    Ask Bar

    52
  • Fan Deck Card

    Fan Deck Card

    49
  • Glass Ribbons

    Glass Ribbons

    44

More in Buttons

View all
  • Button Group

    Button Group

    4
  • Button

    Button

    20
  • Texture Button

    Texture Button

    111
  • Button

    Button

    4
  • Hero Button

    Hero Button

    23
  • Button

    Button

    143
  • Astryx Chat Send Button

    Astryx Chat Send Button

    5
  • Button Group

    Button Group