# Application App Shell: Document Tabs Shell

Editor workspace shell with a strip of open document tabs, close buttons, an unsaved dot, and the active document content below.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/document-tabs-shell
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [App Shells](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/document-tabs-shell.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-app-shells-document-tabs-shell
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatars, badge, button
- Installs to: `@/components/blocks/application-pro/app-shells/document-tabs-shell`

## About this block

Document Tabs Shell is the editor workspace frame: a slim
header (Acme, Product workspace, Share) above a strip of
four open document tabs, each with a file icon, title, and
close button. Launch checklist is active and joined to the
canvas below it, Roadmap draft carries an unsaved change
dot, and a plus button opens a new tab while a counter reads
4 open, 1 unsaved. The active document fills the area below
with its title, a Saved badge, and a meta row noting the
last edit, word count, and share count.

Open tabs are one typed array with id, title, unsaved, and
active fields. The distinction from sub-view tabs is the
point: every tab is its own document, so the active tab
notches into the canvas border and the rest sit flush. Wire
the tab clicks to your document state and drop the editor
surface into the dashed zone.

## When to use

Reach for this shell wherever users keep several documents
open at once and switch between them without leaving the
workspace: a notes app, a code or config editor, or a
report builder. Wire aria-current and the close buttons to
your open-document state and persist the unsaved flag.

A natural flow around it on an Application Pro page:

**Before**

- Nothing, shells are the page

**After**

- [File manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)
- [Activity feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)

## What you can display

One strong use is the multi-document editor with unsaved
tracking. Other open-tab contexts:

- **Notes workspace.** Several notes open at once, each tab
  a document, with an unsaved dot until it syncs.
- **Config editor.** One tab per file under edit, a dot
  marking pending changes before a commit.
- **Query tabs.** Saved and scratch queries open side by
  side, each tab holding its own editor and results.

> Tip: keep the active tab notched into the canvas border
> and the rest flush, so users read the open document as a
> continuous surface rather than a floating panel.

## More in Application App Shells

- [Anchor Nav Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/anchor-nav-shell)
- [Bottom Panel Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/bottom-panel-shell)
- [Breadcrumb Header Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/breadcrumb-header-shell)
- [Card Grid Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/card-grid-shell)
- [Centered Content Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/centered-content-shell)
- [Checklist Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/checklist-shell)
- [Collapsible Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/collapsible-sidebar-shell)
- [Command Bar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/command-bar-shell)
- [Dashboard Home Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/dashboard-home-shell)
- [Dual Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/dual-sidebar-shell)
- [Empty State Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/empty-state-shell)
- [Environment Banner Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/env-banner-shell)
- [Focus Mode Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/focus-mode-shell)
- [Full Bleed Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/full-bleed-shell)
- [Icon Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/icon-sidebar-shell)
- [Inbox Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/inbox-shell)
- [Nested Nav Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/nested-nav-sidebar-shell)
- [Right Rail Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/right-rail-shell)
- [Settings Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/settings-shell)
- [Sidebar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/sidebar-shell)
- [Split Content Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/split-content-shell)
- [Sticky Toolbar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/sticky-toolbar-shell)
- [Tabbed Page Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/tabbed-page-shell)
- [Topbar Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/topbar-shell)
- [Two Pane Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/two-pane-shell)
- [Wizard Shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells/wizard-shell)
