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>
);
}















