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-detail-panel

Lemma Detail Panel

lemma/lemma-detail-panel
UnverifiedBlock

A canonical record detail wrapper that shares the same detail internals as lemma-records-view, while adding standalone loading, empty, error, and action orchestration for operator desks.

Install it

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

Source

registry/default/lemma-detail-panel/components/lemma-detail-panel.tsxraw.githubusercontent.com/lemma-work/lemma-platform/main/lemma-typescript/lemma-detail-panel.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import { AlertCircle, FileText, Loader2, RefreshCw } from "lucide-react"
5import { Button } from "@/components/lemma/ui/button"
6import { Skeleton } from "@/components/lemma/ui/skeleton"
7import { useRecord, useTable, useUpdateRecord } from "lemma-sdk/react"
8import { type LemmaClient, type Table } from "lemma-sdk"
9import { cn } from "@/components/lemma/lib/utils"
10import {
11 RecordDetail,
12 type RecordDetailBuiltinTab,
13 type RecordDetailCustomTab,
14 type RecordDetailFieldGroup,
15 type RecordDetailLayout,
16 type RecordDetailMode,
17 type RecordDetailRelatedRecord,
18 type RecordDetailSectionVisibilityRule,
19 type RecordDetailTabContext,
20 type RecordDetailVariant,
21} from "@/components/lemma/records-detail"
22import {
23 createRecordActionInput,
24 resolveRecordActionMode,
25 resolveRecordActionValues,
26 type RecordAction,
27 type RecordActionMode,
28} from "@/components/lemma/records-quick-actions"
29import { recordsRadiusClassName, type LemmaRecordsAppearance, type LemmaRecordsDensity, type LemmaRecordsRadius } from "@/components/lemma/records-style-utils"
30import type { EnumColorMap } from "@/components/lemma/records-enum-utils"
31
32export type LemmaDetailPanelAppearance = LemmaRecordsAppearance
33export type LemmaDetailPanelDensity = LemmaRecordsDensity
34export type LemmaDetailPanelRadius = LemmaRecordsRadius
35export type FieldGroup = RecordDetailFieldGroup
36export type DetailTab = RecordDetailCustomTab
37type LegacyDetailTabId = "comments" | "activity" | "files"
38type LegacyCompatibleDetailTab = RecordDetailBuiltinTab | LegacyDetailTabId
39
40export type { EnumColorMap } from "@/components/lemma/records-enum-utils"
41export type {
42 RecordDetailBuiltinTab,
43 RecordDetailLayout,
44 RecordDetailMode,
45 RecordDetailRelatedRecord,
46 RecordDetailSectionVisibilityRule,
47 RecordDetailVariant,
48} from "@/components/lemma/records-detail"
49
50export type DetailAction = RecordAction
51
52export interface LemmaDetailPanelProps {
53 client: LemmaClient
54 podId?: string
55 tableName: string
56 recordId?: string
57 enabled?: boolean
58 mode?: RecordDetailMode
59 variant?: RecordDetailVariant
60 layout?: RecordDetailLayout
61 headerFields?: string[]
62 fieldGroups?: FieldGroup[]
63 detailTabs?: LegacyCompatibleDetailTab[]
64 tabs?: DetailTab[]
65 relatedRecords?: RecordDetailRelatedRecord[]
66 renderFiles?: (context: { record: Record<string, unknown>; table: Table; recordId: string }) => React.ReactNode
67// … 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-records-view/components/records-enum-utils.ts
  • registry/default/lemma-records-view/components/records-display-utils.tsx
  • registry/default/lemma-records-view/components/records-style-utils.ts
  • registry/default/lemma-records-view/components/records-quick-actions.tsx
  • registry/default/lemma-record-form/components/record-form-fields.tsx
  • registry/default/lemma-records-view/components/records-detail.tsx
  • registry/default/lemma-detail-panel/components/lemma-detail-panel.tsx

Facts

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

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 Document Workspacelemma-document-workspacelemmaBlocksUnverified6 deps
Lemma File Browserlemma-file-browserlemmaBlocksUnverified4 deps
Lemma Global Searchlemma-global-searchlemmaBlocksUnverified4 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