# Application Empty State: Deleted Resource State

A not found panel for a deleted document with a struck through breadcrumb trail, a deletion record, a restore note, and two recovery actions.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/deleted-resource-state
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Empty States](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/deleted-resource-state.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-empty-states-deleted-resource-state
```

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: badge, button
- Installs to: `@/components/blocks/application-pro/empty-states/deleted-resource-state`

## About this block

Deleted Resource State is the panel a link opens when its
target has been moved to the trash. The breadcrumb trail
proves the parent still exists, with only the final crumb,
Launch plan Q3, struck through and tagged In trash. A FileX2
icon sits beside the heading This document was deleted and a
line explaining that the folder it lived in is untouched. A
ruled record names who deleted it, when, and the date it is
permanently removed, followed by Restore from trash and Open
parent folder actions.

The trail and record are small arrays, so the crumbs and the
three fact rows each have one place to change. The muted note
sets expectations for recovery: restoring returns the document
to its original location with comments, sharing, and version
history intact, items stay in the trash for 30 days, and only
workspace admins can restore something another person deleted.

## When to use

Reach for this block when a saved or shared link points at a
resource that has since been deleted, wired to the trash branch
of your fetch so the deletion date, actor, and purge date are
real. Gate the restore button behind the admin check the note
promises.

A natural flow around it on an Application Pro page:

**Before**

- [File manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)
- [Navigation](https://www.shadcn-ui-blocks.com/blocks/application-pro/navigation)

**After**

- [Activity feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)
- [Notifications](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)

## What you can display

One strong use is the deleted document link. Other deleted
resource states:

- **Removed project.** The project was archived by an owner,
  with the purge date and a restore for admins.
- **Deleted dashboard.** A shared dashboard link resolves to
  trash, with a rebuild from template alternative.
- **Trashed upload.** A file link points at a purged asset,
  with the retention window and an open folder path.

> Tip: always show the permanent removal date so people know
> how long they have to restore before recovery is impossible.

## More in Application Empty States

- [Archived Project State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/archived-project-state)
- [Cleared Inbox State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/cleared-inbox-state)
- [Coming Soon State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/coming-soon-state)
- [Empty Automations State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-automations-state)
- [Empty Chart State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-chart-state)
- [Empty Comments State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-comments-state)
- [Empty Table State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-table-state)
- [Empty Uploads Dropzone](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/empty-uploads-dropzone)
- [Error Boundary Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-boundary-card)
- [Error Page 404](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-page-404)
- [Error Page 500](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/error-page-500)
- [First Run Checklist Empty](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/first-run-checklist-empty)
- [Import In Progress State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/import-in-progress-state)
- [Maintenance Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/maintenance-page)
- [No Access Yet State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-access-yet-state)
- [No Data Yet State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-data-yet-state)
- [No Integrations State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-integrations-state)
- [No Search Results State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/no-search-results-state)
- [Offline State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/offline-state)
- [Onboarding Empty Dashboard](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/onboarding-empty-dashboard)
- [Payment Failed State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/payment-failed-state)
- [Permission Denied State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/permission-denied-state)
- [Rate Limited State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/rate-limited-state)
- [Search No Matches](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/search-no-matches)
- [Session Expired State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/session-expired-state)
- [Storage Full State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/storage-full-state)
- [Trial Expired State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/trial-expired-state)
- [Welcome Back State](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states/welcome-back-state)
