# File Storage Trash Restore

Trash with restore and permanent delete.

- id: `file-storage-trash-restore`
- Page: https://agentic-ui-kit.com/components/file-storage-trash-restore
- Live preview: https://agentic-ui-kit.com/live/template/file-storage/trash?piece=file-storage-trash-restore

## Install

```bash
agentic-ui add file-storage-trash-restore
npx shadcn@4.17.0 add @agentic-ui/file-storage-trash-restore
```

## Metadata

- **Level:** page
- **Category:** page
- **Template:** Stashbox File Storage
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** soft-delete, restore-action, permanent-delete, retention-notice, empty-state
- **Intents:** manage-collection, execute-flow
- **Suits domains:** file-storage, media, crm, knowledge, operations
- **Interaction:** restore, permanent-delete, bulk-empty
- **Screen role:** management
- **Density:** compact
- **Dark mode:** yes
- **Use it for:** Trash with restore and permanent delete, Recoverable archived items, Inbox of deleted items
- **Avoid when:** Deletion is irreversible by design, There is no temporary retention
- **Preserve when adapting:** information-hierarchy, interaction-model
- **Replace when adapting:** domain-copy, mock-data, semantic-tokens, domain-formatting
- **Adaptation effort:** low
- **Coupling:** high
- **Quality score:** 7.65/10
- **Quality breakdown:** visual 8/10, responsive 8/10, accessibility 7/10, code 8/10
- **Uses primitives:** button, badge
- **npm dependencies:** lucide-react
- **Used in:** Stashbox File Storage (template)
- **npm dependencies (registry):** lucide-react@0.577.0, zustand@5.0.8
- **Registry dependencies:** lib-file-storage-utils, ui-badge, ui-button
