Search history

Search history is a Tree View block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Recent searches, saved queries, any history you run again

Anatomy

A quiet rail of dots · an ink lens that slides to the picked search · a thin brand line fills under it while the search runs again · counts and recency in tabular figures · a Recent / Top switch with a sliding thumb that reorders the rows with motion

MCPConnect the MCP server
Modal7 searches
  • Modal with a sticky footer32 results2m
  • Confirm dialog without a close button14 results9m
  • Drawer or modal on mobile21 results26m
  • Focus trap and Escape to close47 results1h
  • Modal overlay blur tokens9 results3h
  • Nested modals and stacking6 results1d
  • Full-screen sheet on phones18 results2d
MoveRun againHomeEndFirst / last

In the Orvain Library

Get Search history for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of Tree View

What’s inside

05parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. A quiet rail of dots
  2. An ink lensthat slides to the picked search
  3. A thin brand line fills under it while the search runs again
  4. Counts and recencyin tabular figures
  5. A Recent / Top switchwith a sliding thumb that reorders the rows with motion

Responsive behaviour

560 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where Tree View earns its place

Reach for Tree View

  • Data whose nesting is the point, such as a request schema where one field is an object of fields.
  • Settings split into sections that hold their own rows, worked one branch at a time.
  • A list where one item is the current one and its relation to the rest matters.
  • Cases where a parent and a grandchild have to be visible at the same moment.

Reach for something else

  • Flat records people filter and sort. A table with grouping shows the same sets without the extra level of indirection.
  • A deep store people navigate rather than survey. A breadcrumb trail plus one level at a time keeps position legible at depth.
  • Folding used only to shorten a long page. An accordion does that without claiming the sections contain one another.

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Search history” block to this page: a quiet rail of dots, an ink lens that slides to the picked search, a thin brand line fills under it while the search runs again, counts and recency in tabular figures, a Recent / Top switch with a sliding thumb that reorders the rows with motion.

Works in
Connect the MCP

Questions about Search history.

What is the Search history block?

Search history is a Tree View block from Orvain UI, built for React and Vue with a matching Figma frame. Best for recent searches, saved queries, any history you run again.

What is the Search history block made of?

Is the Search history block responsive?

Is the Search history block accessible?

How do I add the Search history block to my project?

When should I not use a Tree View block?

More Tree View blocks

All Tree View

Parameter tree

Schema editors, nested settings, request builders, recursive parameter panels

Search thread

Related searches, suggestion threads, any list where one item is the one you are on

Search branches

Exploratory search, research trails, refining a query step by step and coming back to an earlier one

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.