Workspace Shell

An inset workspace on beUI: shared chrome, a collapsible sidebar and browser-like tabs joined to the content surface.

Preview

Asharca Workspace

工作台

概览

已保存
基于 beUI · 本地示例3 个标签
打开独立工作区演示

Install

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

$ bunx --bun shadcn@latest add https://asharca.github.io/ui/r/workspace-shell.json

API Reference

sidebar?
ReactNode
—
tabBar?
ReactNode
—
mobileHeader?
ReactNode
—
header?
ReactNode
—
footer?
ReactNode
—
scroll?
"content" | "none"

content: this pane scrolls; none: the editor/chat child owns scrolling.

content
contentProps?
Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "children">
—
open?
boolean
—
defaultOpen?
boolean
—
onOpenChange?
((open: boolean) => void)
—
openMobile?
boolean
—
defaultOpenMobile?
boolean
—
onOpenMobileChange?
((open: boolean) => void)
—
style?
SidebarProviderStyle
—
className?
string
—

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