Project Folder

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/project-folder

API Reference

title
string
Default—
description?
string
Default—
previews?
ProjectFolderPreview[]
Default[]
count?
number
Defaultpreviews.length
itemLabel?
string

Singular noun for the count, e.g. `"file"`. Pluralized the English way by appending `s` (`3 files`), so only pass it for English copy. Leave it unset to use the localizable `countOne`/`countOther` messages.

Default—
open?
boolean
Default—
defaultOpen?
boolean
Defaultfalse
onOpenChange?
((open: boolean) => void)
Default—
expanded?
boolean
Default—
defaultExpanded?
boolean
Defaultfalse
onExpandedChange?
((expanded: boolean) => void)
Default—
onClick?
(() => void)
Default—
disabled?
boolean
Defaultfalse
ariaLabel?
string
Default—
labels?
Partial<{ description: string; countOne: string; countOther: string; closeOverlay: string; close: string; }>

Override any built-in string. `{count}` fills `countOne`/`countOther`; `{title}` fills `close`.

Default—
className?
string
Default—

Keep in mind

Some components on this site are inspired by or recreated from existing work across the web. I'm not here to take credit; just to learn, experiment, and sometimes push things a bit further. If something looks familiar and I forgot to mention you, reach out and I'll fix that right away.

Updated