BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/lemma/lemma-status-flow

Lemma Status Flow

lemma/lemma-status-flow
UnverifiedBlock

A visual status lifecycle primitive for interactive transitions, read-only status display, and tracker-style progress steps across issue trackers, hiring pipelines, and approval workflows.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/lemma-work/lemma-platform/main/lemma-typescript/lemma-status-flow.json

Source

registry/default/lemma-status-flow/components/lemma-status-flow.tsxraw.githubusercontent.com/lemma-work/lemma-platform/main/lemma-typescript/lemma-status-flow.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import {
5 Check,
6 Circle,
7 Loader2,
8} from "lucide-react"
9import { Skeleton } from "@/components/lemma/ui/skeleton"
10import {
11 Tooltip,
12 TooltipContent,
13 TooltipProvider,
14 TooltipTrigger,
15} from "@/components/lemma/ui/tooltip"
16import { useFunctionRun, useUpdateRecord } from "lemma-sdk/react"
17import type { LemmaClient } from "lemma-sdk"
18import { cn } from "@/components/lemma/lib/utils"
19import { enumPillClasses, type EnumColorMap } from "./status-flow-enum-utils"
20import {
21 statusFlowRadiusClassName,
22 type LemmaStatusFlowAppearance,
23 type LemmaStatusFlowDensity,
24 type LemmaStatusFlowRadius,
25} from "./status-flow-style-utils"
26
27export type { LemmaStatusFlowAppearance, LemmaStatusFlowDensity, LemmaStatusFlowRadius } from "./status-flow-style-utils"
28export type { EnumColorMap } from "./status-flow-enum-utils"
29
30export type LemmaStatusFlowMode = "interactive" | "readonly" | "tracker"
31
32export interface StatusTransition {
33 from: string
34 to: string
35 label?: string
36 icon?: React.ComponentType<{ className?: string }>
37 functionName?: string
38}
39
40export interface LemmaStatusFlowProps {
41 client: LemmaClient
42 podId?: string
43 tableName?: string
44 recordId?: string
45 enabled?: boolean
46
47 currentStatus: string
48 statuses: string[]
49 statusField?: string
50 transitions?: StatusTransition[]
51 onTransition?: (from: string, to: string) => void
52 actionMode?: "direct" | "function"
53 enumColorMap?: EnumColorMap
54 mode?: LemmaStatusFlowMode
55 showConnectors?: boolean
56 statusLabels?: Record<string, React.ReactNode>
57 statusDescriptions?: Record<string, React.ReactNode>
58
59 orientation?: "horizontal" | "vertical"
60 appearance?: LemmaStatusFlowAppearance
61 density?: LemmaStatusFlowDensity
62 radius?: LemmaStatusFlowRadius
63 className?: string
64}
65
66type StatusNodeState = "past" | "current" | "future"
67
68export function LemmaStatusFlow({
69 client,
70 podId,
71 tableName,
72 recordId,
73 enabled = true,
74 currentStatus,
75 statuses,
76 statusField = "status",
77 transitions,
78 onTransition,
79 actionMode = "direct",
80 enumColorMap,
81 mode = "interactive",
82 showConnectors = true,
83 statusLabels,
84 statusDescriptions,
85 orientation = "horizontal",
86 appearance = "default",
87 density = "comfortable",
88 radius = "lg",
89 className,
90}: LemmaStatusFlowProps) {
91 const [localStatus, setLocalStatus] = React.useState(currentStatus)
92 const [transitioning, setTransitioning] = React.useState<string | null>(null)
93
94// … truncated

What it pulls in

npm packages

  • lemma-sdk
  • lucide-react
  • clsx
  • tailwind-merge

Other registry items

  • lemma-ui

Files it writes

  • registry/default/lemma-status-flow/components/status-flow-enum-utils.ts
  • registry/default/lemma-status-flow/components/status-flow-style-utils.ts
  • registry/default/lemma-status-flow/components/lemma-status-flow.tsx

Facts

Registry
lemma
Type
registry:block
Access
Unverified
Files written
3
Licence
AGPL-3.0
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

lemma.work lemma-work/lemma-platform on GitHub Raw registry item This item as JSON

More from lemma

All 20 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Lemma Action Surfacelemma-action-surfacelemmaBlocksUnverified4 deps
Lemma Activity Feedlemma-activity-feedlemmaBlocksUnverified4 deps · 3 files
Lemma Agent Conversation Experiencelemma-assistant-experiencelemmaBlocksUnverified7 deps · 3 files
Lemma Breadcrumbslemma-breadcrumbslemmaBlocksUnverified3 deps
Lemma Commentslemma-commentslemmaBlocksUnverified4 deps · 3 files
Lemma Detail Panellemma-detail-panellemmaBlocksUnverified4 deps · 7 files
Lemma Document Workspacelemma-document-workspacelemmaBlocksUnverified6 deps
Lemma File Browserlemma-file-browserlemmaBlocksUnverified4 deps

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

ToolDrift

What the AI coding tools changed last night

tooldrift.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 ToolDrift

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 ToolDrift

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 ToolDrift

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