BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/collaborative-review-workspace

Collaborative Review Workspace

motiq/collaborative-review-workspace
FreeBlock

A composed review screen: Live Presence Stack, an app-owned Approval Workflow, the Comment Thread, and an Activity Stream wired into one demo state machine — approving advances the workflow and records activity; new comments appear in the thread and the feed. Clearly fictional users; the app owns persistence + authorization.

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/collaborative-review-workspace.json

Source

registry/blocks/collaborative-review-workspace.tsxwww.motiq.dev/r/collaborative-review-workspace.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6import { getStatusMeta, statusVars } from "@/lib/motiq";
7
8import {
9 LivePresenceStack,
10 type PresenceUser,
11} from "@/components/motiq/live-presence-stack";
12import {
13 ApprovalWorkflow,
14 type ApprovalWorkflowData,
15 type ApprovalAction,
16 type ActionContext,
17 type ApprovalStatus,
18 type Decision,
19 type Reviewer,
20 type WorkflowStage,
21} from "@/components/motiq/approval-workflow";
22import {
23 CommentThread,
24 type Comment,
25 type CommentAuthor,
26 type CommentDraft,
27} from "@/components/motiq/comment-thread";
28import {
29 ActivityStream,
30 type ActivityEvent,
31 type ActivityActor,
32} from "@/components/motiq/activity-stream";
33
34/* --------------------------------------------------------------------------
35 * CollaborativeReviewWorkspace — a composed review surface that wires four
36 * released collaboration components into one realistic screen: the presence of
37 * who's here, an app-owned approval workflow as the main column, the discussion
38 * thread under it, and an activity feed as the right rail.
39 *
40 * It owns a small in-memory demo state machine that connects the components'
41 * callbacks: approving a stage advances the workflow AND appends an activity
42 * event; posting a comment appears in the thread AND the activity; resolving the
43 * discussion updates the thread AND records it. Preset buttons load the review
44 * lifecycle states so you can see every phase without scripting.
45 *
46 * Presentation only — clearly fictional users, no real persistence or
47 * authorization. In a real app you would replace the demo state with your own
48 * data source and let these same callbacks drive real mutations. Clean-room
49 * original.
50 * ----------------------------------------------------------------------- */
51
52const MIN = 60_000;
53const HOUR = 3_600_000;
54const DAY = 86_400_000;
55/** Fixed epoch anchoring the demo timeline for the first render (never Date.now
56 * during render/init). Re-anchored to the real clock in a mount effect so the
57 * relative timestamps read naturally. */
58const T0 = 1_800_000_000_000;
59
60const VIEWER_ID = "you";
61
62/* -- fictional cast ------------------------------------------------------ */
63
64const PEOPLE = {
65 you: { id: "you", name: "You" },
66 mira: { id: "mira", name: "Mira Delacroix" },
67 devon: { id: "devon", name: "Devon Achebe" },
68 rosa: { id: "rosa", name: "Rosa Whitfield" },
69 kai: { id: "kai", name: "Kai Ferreira" },
70 june: { id: "june", name: "June Park" },
71// … truncated

What it pulls in

npm packages

  • motion

Other registry items

  • https://motiq.dev/r/live-presence-stack.json
  • https://motiq.dev/r/approval-workflow.json
  • https://motiq.dev/r/comment-thread.json
  • https://motiq.dev/r/activity-stream.json
  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/blocks/collaborative-review-workspace.tsx

Facts

Registry
motiq
Type
registry:block
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
yesterday

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
Data Motion Packdata-motion-packmotiqBlocksFree1 dep
Deployment Command Centerdeployment-command-centermotiqBlocksFree1 dep
Deployment Control Herodeployment-control-heromotiqBlocksFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

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. Changelog

BlockDex