Search results preview
A controlled grouped search view with a native query field, type filters, result counts, destinations, actions, and an explicit empty state.
pro · Blocks · composite
When to use
- Use it when a page needs a controlled grouped search view with a native query field, type filters, result counts, destinations, actions, and an explicit empty state.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than search results.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/search-resultsImport components/ui/tidal.css, components/ui/search-results.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/search-results.css";
import{TidalSearchResults}from"./components/ui/search-results";
export default(p:Parameters<typeof TidalSearchResults>[0])=><div className="tidal-scope"><TidalSearchResults {...p}/></div>;API and props
TidalSearchResults.filters (required)ReadonlyArray<TidalSearchFilter>Required filters value accepted by this exported component.
TidalSearchResults.groups (required)ReadonlyArray<TidalSearchResultGroup>Required groups value accepted by this exported component.
TidalSearchResults.onFilterChange (required)(filter: TidalSearchFilter, event: ReactMouseEvent<HTMLButtonElement>) => voidCallback invoked when the filter change interaction is proposed.
TidalSearchResults.queryControl (required)TidalSearchQueryControlRequired query control value accepted by this exported component.
TidalSearchResults.resultCount (required)numberRequired result count value accepted by this exported component.
TidalSearchResults.resultCountLabel (required)(count: number, query: string) => ReactNodeRequired result count label value accepted by this exported component.
TidalSearchResults.selectedFilterId (required)stringRequired selected filter id value accepted by this exported component.
TidalSearchResults.title (required)ReactNodeRequired title value accepted by this exported component.
TidalSearchResults.descriptionReactNodeOptional description value accepted by this exported component.
TidalSearchResults.emptyActionTidalSearchEmptyAction | undefinedOptional empty action value accepted by this exported component.
TidalSearchResults.emptyDescriptionReactNodeOptional empty description value accepted by this exported component.
TidalSearchResults.emptyTitleReactNodeOptional empty title value accepted by this exported component.
TidalSearchResults.eyebrowReactNodeOptional eyebrow value accepted by this exported component.
TidalSearchResults.footerReactNodeOptional footer value accepted by this exported component.
TidalSearchResults.headingLevel"h2" | "h3" | "h4" | undefinedOptional heading level value accepted by this exported component.
TidalSearchResults.labelsPartial<TidalSearchResultsLabels> | undefinedOptional labels value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.