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

    216
  • Route Globe

    Route Globe

    171
  • Glass Tiles

    Glass Tiles

    159
  • Orbit Ring Stats

    Orbit Ring Stats

    71
  • Glyph Swell

    Glyph Swell

    66
  • Fan Deck Card

    Fan Deck Card

    54
  • Ask Bar

    Ask Bar

    52
  • Glass Ribbons

    Glass Ribbons

    46

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113