Search Results Page

A search results panel with a query input, result count and a list of hits, each showing a monospace item name, a tier badge and a one line summary.

src/registry/blocks/search-results-page.tsx/r/search-results-page.json

Installation#

bash
npx shadcn@latest add @minidev/search-results-page

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/search-results-page.json

Usage#

tsx
import { SearchResultsPage } from "@/components/ui/search-results-page"

export function Example() {
  return <SearchResultsPage />
}

API reference#

SearchResultsPage takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.

Dependencies#

npm

React only

Built from

All navigation components