BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/live-data-command-hero

Live Data Command Hero

motiq/live-data-command-hero
FreeBlock

An editable hero block for operational-data products centered on continuity and changing state. Composes KPI Number Morph (three metrics), Data Refresh State, a small Streaming Data Rows subset, and Filter Result Transition across initial/live/filtering/refreshing/partial-update/stale/error/recovery. App-controlled, clearly-fictional demo data. SSR-safe, reduced-motion-safe.

Live preview

live · rendered by the registry
Rendered by motiq on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.motiq.dev/r/live-data-command-hero.json

Source

registry/blocks/live-data-command-hero.tsxwww.motiq.dev/r/live-data-command-hero.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6import {
7 useReducedMotion,
8 useControllableState,
9 statusVars,
10 type StatusTone,
11} from "@/lib/motiq";
12
13import { KpiNumberMorph } from "@/components/motiq/kpi-number-morph";
14import {
15 DataRefreshState,
16 type RefreshState,
17} from "@/components/motiq/data-refresh-state";
18import {
19 StreamingDataRows,
20 type Column,
21 type StreamingTableState,
22} from "@/components/motiq/streaming-data-rows";
23import {
24 FilterResultTransition,
25 type ActiveFilter,
26 type FilterResultState,
27} from "@/components/motiq/filter-result-transition";
28
29/**
30 * LiveDataCommandHero — an editable hero block for operational-data products.
31 * Instead of a static KPI screenshot, a wide copy band sits above a full-width
32 * *live surface*: three morphing KPIs, the current refresh state, a small live
33 * subset of signals, and one active filter — all driven by a single phase the
34 * app owns. On wide screens the watched signals and the live feed tile into two
35 * columns so the hero holds a calm height. The point is continuity and changing
36 * state over time, at reduced complexity: it is a hero framing, not a full
37 * analytics dashboard.
38 *
39 * IMPORTANT — DEMO ONLY. Every signal, region, metric, and timestamp below is
40 * fictional and provider-neutral; nothing here talks to a real backend. Rewire
41 * `dataset` and `phase` to your own telemetry.
42 *
43 * Determinism: no `Date.now()` / `Math.random()` / `new Date()` at module scope,
44 * during render, or in initializers. Every snapshot derives from a fixed baseline
45 * via a pure wobble; timestamps come from fixed epoch constants; the only motion
46 * over time is a client-only "live" tick that pauses offscreen and under reduced
47 * motion. Server and first client render are identical. Clean-room original.
48 */
49
50/* -------------------------------------------------------------------------- */
51/* Public types */
52/* -------------------------------------------------------------------------- */
53
54/** The lifecycle the host application drives; the block maps it onto the surface. */
55export type DataHeroPhase =
56 | "initial"
57 | "live"
58 | "filtering"
59 | "refreshing"
60 | "partial-update"
61 | "stale"
62 | "error"
63 | "recovery";
64
65export type SignalStatus = "healthy" | "degraded" | "critical";
66
67export interface HeroSignal {
68 /** Stable identity — the key to smooth insert / update / resort. */
69 id: string;
70// … truncated

What it pulls in

npm packages

  • motion

Other registry items

  • https://motiq.dev/r/kpi-number-morph.json
  • https://motiq.dev/r/data-refresh-state.json
  • https://motiq.dev/r/streaming-data-rows.json
  • https://motiq.dev/r/filter-result-transition.json
  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/blocks/live-data-command-hero.tsx

Facts

Registry
motiq
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-12
Last confirmed
today

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Agent Operations Heroagent-operations-heromotiqBlocksFree1 dep
AI Agent Workspaceai-agent-workspacemotiqBlocksFree1 dep
AI Interface Packai-interface-packmotiqBlocksFree1 dep
Collaboration Packcollaboration-packmotiqBlocksFree1 dep
Collaborative Launch Herocollaborative-launch-heromotiqBlocksFree1 dep
Collaborative Review Workspacecollaborative-review-workspacemotiqBlocksFree1 dep
Data Motion Packdata-motion-packmotiqBlocksFree1 dep
Deployment Command Centerdeployment-command-centermotiqBlocksFree1 dep
BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex