Velocity X Components

Standard Navigation

Recent Items Switcher

A small "Recent" trigger that drops a quick-switch list of the records someone just had open — the last deal, ticket or document — so jumping back takes one click instead of a search. Full keyboard support (arrow keys, Enter, Home/End) with no search box at all, which keeps it a fast recall tool rather than a command launcher.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-recent-items-switcher

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Recent Items Switcher →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Recent Items Switcher

Props

NameTypeRequiredDefaultDescription
items{ id: string, title: string, subtitle?: string, icon?: ReactNode,No[]
triggerLabelstringNo'Recent'
emptyLabelstringNo'Nothing opened yet'
labelstringNo'Recently visited'accessible list name
classNamestringNo''applied to the trigger button

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/standard-recent-items-switcher/RecentItemsSwitcher.jsx

Using the Recent Items Switcher component

Install it with velocityx add standard-recent-items-switcher. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Standard Navigation.