# Application Filters and Search: Search Results Highlights

A search results list with matched query terms highlighted in every title and snippet, entity type tabs with counts, and per result meta lines.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/search-results-highlights
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Filters and Search](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/search-results-highlights.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-filters-and-search-search-results-highlights
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: lucide-react
- Installs to: `@/components/blocks/application-pro/filters-and-search/search-results-highlights`

## About this block

Search Results Highlights is the results page for a
workspace wide query: the search term onboarding checklist
is marked inside every title and snippet, entity tabs (All,
Docs, Tasks, People) carry live counts and filter the list,
and each hit ends with a meta line naming its type,
location, and freshness, like Document in Docs / People
Ops, updated Jun 28.

A small Highlighted component splits each string on the
query pattern and wraps the odd segments in a mark, so the
highlighting stays in sync with the term without dangerous
HTML. Tab counts come from filtering the same results
array, and the active tab narrows the list in one pass.

## When to use

Reach for this block as the results surface behind a global
search, wired to your search index and its per-type counts.
Highlighting matched terms lets users judge relevance at a
glance instead of opening each hit to see why it surfaced.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Search with recent](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search)

**After**

- [Data table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)
- [Empty states](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states)

## What you can display

One strong use is workspace search across docs, tasks, and
people. Other highlighted result lists:

- **Support search.** Tickets and articles with the query
  marked in each.
- **Code search.** File and symbol hits with the term lit in
  context.
- **Customer search.** Accounts and contacts matched on name
  or domain.

> Tip: highlight in the snippet, not just the title; a
> marked term inside the surrounding sentence is what tells
> users the match is relevant.

## More in Application Filters and Search

- [Advanced Filter Builder](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/advanced-filter-builder)
- [Applied Filters Summary](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/applied-filters-summary)
- [Column Filter Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/column-filter-blueprint)
- [Date Range Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/date-range-panel)
- [Faceted Filter Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/faceted-filter-bar)
- [Filter Chips Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/filter-chips-row)
- [Filter Funnel Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/filter-funnel-panel)
- [Find In View Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/find-in-view-bar)
- [Group By Selector](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/group-by-selector)
- [Grouped Results Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/grouped-results-blueprint)
- [Include Exclude Tags](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/include-exclude-tags)
- [Multi Facet Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/multi-facet-panel)
- [Multi Sort Builder](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/multi-sort-builder)
- [Query Language Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/query-language-bar)
- [Quick Filter Toggles](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/quick-filter-toggles)
- [Range Filter Histogram](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/range-filter-histogram)
- [Recent And Saved Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/recent-and-saved-blueprint)
- [Results Density Toggle](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/results-density-toggle)
- [Saved Filter Pills](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/saved-filter-pills)
- [Saved Searches Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/saved-searches-manager)
- [Saved Views Tabs](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/saved-views-tabs)
- [Scope Selector Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/scope-selector-bar)
- [Search Preview Pane](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/search-preview-pane)
- [Search With Recent](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/search-with-recent)
- [Sort Density Toolbar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/sort-density-toolbar)
- [Sort Menu Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/sort-menu-blueprint)
- [View Changes Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/view-changes-bar)
- [Zero Results Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search/zero-results-panel)
