# Search and filter links

- **[Get started](/get-started/)**

The index pages take ?q=, ?cat= and ?sort= in the URL, so a filtered list is a link you can share or hand to an agent.

## Steps

- **Search by words**: q is free text, up to 80 characters. Every word must match; titles rank first, then aliases and types, then category, then description. Common names work: modal finds Dialog, toggle finds Switch, btn finds Button.

  ```
  https://ui.klarhimmel.com/blocks/?q=pricing%20table
  ```
- **Narrow to a category**: cat is the category slug shown in the chips: a block category such as hero or pricing, a component group such as forms, an App UI category such as settings. An unknown slug is ignored.

  ```
  https://ui.klarhimmel.com/blocks/?cat=hero
  ```
- **Choose the order**: sort is category (library order, the default), name (A to Z) or match (best match, only while q is set). Without q, ?sort=name lists every item A to Z instead of the category cards.

  ```
  https://ui.klarhimmel.com/components/?sort=name
  ```

## Where it works

The same three parameters work on every index page, and they combine.

- **Pages**: /components/, /blocks/, /blocks/<category>/, /app/ and /templates/. Pages without categories ignore cat.
- **Static pages**: The Markdown twins and the prerendered pages are the full list; the parameters apply in the app, in the browser. Read llms.txt or /r/registry.json for the whole inventory.
- **Same ranking everywhere**: The search palette (Cmd or Ctrl+K) ranks with the same function and the same synonyms as the index pages.

[Previous](/get-started/shadcn-marketing-blocks)

[Next](/get-started/reports)

- **Copy for AI**
