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-file-browser

Lemma File Browser

lemma/lemma-file-browser
FreeBlock

A datastore file workspace with folder navigation, breadcrumbs, search, upload, rename, move, folder creation, picker actions, link flows, and delete handling.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/lemma-work/lemma-platform/main/lemma-typescript/public/r/lemma-file-browser.json

Source

registry/default/lemma-file-browser/components/lemma-file-browser.tsxraw.githubusercontent.com/lemma-work/lemma-platform/main/lemma-typescript/public/r/lemma-file-browser.json · first 6 KB
1"use client"
2
3import * as React from "react"
4import {
5 Download,
6 File,
7 FileText,
8 Folder,
9 FolderPlus,
10 Building2,
11 Home,
12 Image,
13 Loader2,
14 LockKeyhole,
15 MoreHorizontal,
16 Pencil,
17 RefreshCw,
18 Search,
19 Trash2,
20 Upload,
21 Waypoints,
22} from "lucide-react"
23import {
24 AlertDialog,
25 AlertDialogAction,
26 AlertDialogCancel,
27 AlertDialogContent,
28 AlertDialogDescription,
29 AlertDialogFooter,
30 AlertDialogHeader,
31 AlertDialogTitle,
32} from "@/components/lemma/ui/alert-dialog"
33import { Button } from "@/components/lemma/ui/button"
34import {
35 Breadcrumb,
36 BreadcrumbItem,
37 BreadcrumbLink,
38 BreadcrumbList,
39 BreadcrumbPage,
40 BreadcrumbSeparator,
41} from "@/components/lemma/ui/breadcrumb"
42import {
43 Dialog,
44 DialogContent,
45 DialogDescription,
46 DialogFooter,
47 DialogHeader,
48 DialogTitle,
49} from "@/components/lemma/ui/dialog"
50import {
51 DropdownMenu,
52 DropdownMenuContent,
53 DropdownMenuItem,
54 DropdownMenuSeparator,
55 DropdownMenuTrigger,
56} from "@/components/lemma/ui/dropdown-menu"
57import { Input } from "@/components/lemma/ui/input"
58import { Label } from "@/components/lemma/ui/label"
59import { Skeleton } from "@/components/lemma/ui/skeleton"
60import { useFiles, useFileSearch } from "lemma-sdk/react"
61import type { FileResponse, FileSearchResultSchema, LemmaClient } from "lemma-sdk"
62import { cn } from "@/components/lemma/lib/utils"
63
64export type LemmaFileBrowserAppearance = "default" | "minimal" | "borderless" | "contained"
65export type LemmaFileBrowserDensity = "compact" | "comfortable" | "spacious"
66export type LemmaFileBrowserRadius = "none" | "sm" | "md" | "lg" | "xl"
67export type LemmaFileBrowserMode = "browser" | "picker"
68export type LemmaFileBrowserNamespace = "PRIVATE" | "POD"
69
70export interface LemmaFileBrowserLinkAction {
71 key: string
72 label: React.ReactNode
73 onSelect: (file: FileResponse) => void | Promise<void>
74 disabled?: boolean
75 hidden?: boolean
76}
77
78export interface LemmaFileBrowserProps {
79 client: LemmaClient
80 podId?: string
81 initialPath?: string
82 selectedPath?: string | null
83 enabled?: boolean
84 limit?: number
85 searchMinLength?: number
86 mode?: LemmaFileBrowserMode
87 namespace?: LemmaFileBrowserNamespace
88 showNamespaceTabs?: boolean
89 pickLabel?: React.ReactNode
90 uploadEnabled?: boolean
91 deleteEnabled?: boolean
92 renameEnabled?: boolean
93 moveEnabled?: boolean
94 publishToPodEnabled?: boolean
95 createFolderEnabled?: boolean
96 linkActions?: LemmaFileBrowserLinkAction[]
97 appearance?: LemmaFileBrowserAppearance
98// … 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-file-browser/components/lemma-file-browser.tsx

Facts

Registry
lemma
Type
registry:block
Access
Free
Files written
1
Licence
AGPL-3.0
First indexed
2026-08-03
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-surfacelemmaBlocksFree4 deps
Lemma Activity Feedlemma-activity-feedlemmaBlocksFree4 deps · 3 files
Lemma Agent Conversation Experiencelemma-assistant-experiencelemmaBlocksFree7 deps · 3 files
Lemma Breadcrumbslemma-breadcrumbslemmaBlocksFree3 deps
Lemma Commentslemma-commentslemmaBlocksFree4 deps · 3 files
Lemma Detail Panellemma-detail-panellemmaBlocksFree4 deps · 7 files
Lemma Document Workspacelemma-document-workspacelemmaBlocksFree6 deps
Lemma Global Searchlemma-global-searchlemmaBlocksFree4 deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex