Skip to main content
Clever Ops

Signal Card

Status card with a live keyline, one short accent segment circulates the card perimeter via SVG pathLength, slow and steady, built for dashboards and monitor pages.

Preview & code

Loading Signal Card preview

Installation

pnpm dlx shadcn@latest add @cleverui/card-signal

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { CardSignal } from '@/components/ui/card-signal'
Exampletsx
import { CardSignal } from '@/components/ui/card-signal'

export default function CardSignalDemo() {
  return (
    <div className="mx-auto flex min-h-[440px] max-w-md items-center px-4 py-16 sm:px-6">
      <CardSignal
        status="Operational"
        title="Checkout API · us-east-1"
        body="Payment intents and webhook delivery are healthy. No open incidents on the primary lane."
        meta="Checked 42s ago · 99.98% 30d"
        active
        lapSeconds={12}
        className="w-full"
      />
    </div>
  )
}

API reference

CardSignal accepts the following props.

PropTypeDefaultDescription
statusstring'Operational'mono status word beside the signal dot
title*string
bodystringone supporting sentence under the title
metastring'Checked 42s ago · 99.98% 30d'tabular meta line at the card base
activebooleantruewhen false the segment parks as a static keyline
lapSecondsnumber12seconds per full perimeter lap; minimum 8

…plus everything from Omit< React.HTMLAttributes<HTMLElement>, 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onAnimationStart' >: className, event handlers, aria attributes and the rest pass straight through.

Frequently asked questions

How do I install the Signal Card component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/card-signal`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Signal Card require?

Signal Card uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Signal Card to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services