Skip to content
NewYour data: charts, lists and meters that take your records
<px-ticker>Custom elementData, in pixels

LED ticker

LED marquee with glowing text over a grid of unlit dots, coloured up and down arrows and soft edges; hovering eases it to a stop.

View as Markdown
<px-ticker>

Demo data

The ticker items (model, latency, errors, agents, uptime) are invented; nothing can be set. It cannot show your own data yet, so use it as a template: replace the invented data in its source before it shows anything real. See Your data.

Installation

pnpm dlx shadcn@latest add @lumesec/px-ticker
First timeRegister the @lumesec registry once, or install by URL

Adds @lumesec to your components.json:

pnpm dlx shadcn@latest registry add @lumesec=https://elements.lumesec.ai/r/{name}.json

Or skip the setup and install by URL:

npx shadcn@latest add https://elements.lumesec.ai/r/px-ticker.json

Usage

import { PxTicker } from "@/components/lumesec/px-ticker";

export function Example() {
  return (
    <PxTicker />
  );
}

Behaviour

An LED marquee: glowing text over a grid of unlit dots, coloured up and down arrows and soft edges. Hovering eases it to a stop rather than freezing it.

Keyboard

KeysAction
Space / EnterPause or resume the ticker.

Accessibility

  • The board is focusable with role="marquee" and aria-label="Status ticker". The ticker items are text; the repeated copies that fill the loop are aria-hidden.
  • Click or tap also toggles the pause; while paused the label reads "Status ticker, paused".
  • Reduced motion: the ticker does not scroll.

Theming

The element reads your shadcn theme tokens through its shadow root, so light and dark follow your theme. The accent comes from --lumesec. See Theming.

This component reads --destructive, --foreground, --lumesec, --lumesec-success, --muted and --muted-foreground.

To restyle only LumeSec elements, set the matching --ui-* overrides: --ui-accent, --ui-danger, --ui-fg, --ui-mono, --ui-muted, --ui-ok and --ui-track.

Notes

  • The ticker items are built-in demo data (model, latency, errors, agents, uptime); there is no attribute for your own text.
  • Hover pausing applies to mouse pointers only. The board is 50px tall and scrolls with a CSS transform; the text is set in the monospace font.

Was this page helpful?