# Search Recently Viewed

«recently viewed» panel on a SaaS home to return to opened documents, dashboards or people.

- id: `search-recently-viewed`
- Page: https://agentic-ui-kit.com/components/search-recently-viewed
- Live preview: https://agentic-ui-kit.com/live/component/search-recently-viewed

## Install

```bash
agentic-ui add search-recently-viewed
npx shadcn@4.17.0 add @agentic-ui/search-recently-viewed
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york)
- **Capabilities:** local-persistence, generated-thumbnails, image-thumbnails, time-grouping, kind-filter, search-filter, dedupe-and-cap, cross-instance-sync, grid-list-layout, clear-with-confirmation, keyboard-navigation, focus-management, empty-state, storage-error-state, live-announcements, responsive-grid
- **Intents:** navigate, explore-detail, manage-collection
- **Suits domains:** saas, ecommerce, knowledge, file-storage, project-management, crm
- **Interaction:** open-item, remove-item, clear-all-confirm, search-filter, kind-filter, layout-toggle, keyboard-navigation
- **Screen role:** overview
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** «recently viewed» panel on a SaaS home to return to opened documents, dashboards or people, local history of visited products in a store with a thumbnail and a direct jump to the product page, block of recent files or pages in a knowledge base, fed from the router or the command palette, resume shortcut in a CRM with contacts and accounts consulted in recent days
- **Avoid when:** the history must sync across devices or be audited on the server (use devtools-recent-activity-feed or an activity feed with a backend), the list exceeds dozens of entries or requires global search over the whole corpus (use search-global-palette or ai-workspace-search-dialog)
- **Preserve when adapting:** history-dedupe-and-cap-logic, time-bucket-grouping, thumbnail-per-kind-sketches, storage-adapter-contract, keyboard-and-focus-model, accessible-live-announcements
- **Replace when adapting:** entity-kinds-and-labels, storage-key-and-max-items, navigation-target-on-open, copy-and-locale, brand-color-tokens
- **Adaptation effort:** low
- **Coupling:** low
- **Quality score:** 9.2/10
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** card, badge, button, input, alert, alert-dialog, skeleton
- **npm dependencies:** lucide-react
- **Motion:** profile subtle, library css, reduced-motion fallback yes
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** lib-primitives
