Skip to content
GetUrUI

Find and Run

3 variantsPro
.md

Search and command moments: a palette that runs a command, results that land with highlights and filters that reflow a list.

illustrationsvgsearchcommand palettefiltersresultsloop

Command

command.tsx

A query types itself, matching commands appear and the selection steps down and runs.

$npx shadcn@latest add @geturui-pro/find-and-run-command
PropTypeDefaultDescription
querystring"deploy"Query typed into the palette; a word or two.
speednumber1Speed multiplier for the loop (six seconds at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Results

results.tsx

The field pulses while searching, ranked results slide in and matches light up.

$npx shadcn@latest add @geturui-pro/find-and-run-results
PropTypeDefaultDescription
querystring"refund policy"Query shown in the search field.
speednumber1Speed multiplier for the loop (six seconds at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Filters

filters.tsx

Filter chips switch on their own while the result list reflows with springs.

$npx shadcn@latest add @geturui-pro/find-and-run-filters
PropTypeDefaultDescription
speednumber1Speed multiplier for the loop (two seconds per filter at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Install the whole set

Installs every find and run variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/find-and-run

Accessibility

  • Rendered as a single SVG with role="img" and an aria-label you can override with `title`; nothing inside is focusable.
  • Under prefers-reduced-motion the scene renders one meaningful still frame: no loops, no timers.
  • Colours come from the GetUrUI tokens only, so the scene follows light and dark themes automatically.

Related