Component packs › Seek › Scan Results

Scan Results

Results slide to their new rank as the query changes while a scanning light passes down the list, inking the matched words as it reaches them.

Scan Results is a search results from Seek, a component pack with 8 components: Search and command palette components that show exactly what matched. Price: free.

Built with: FLIP re-rank, scan ink, tight matching.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Install with the shadcn CLI: npx shadcn@latest add https://motionmart.store/r/scan-results.json

Scan Results props

PropTypeDefaultDescription
docsScanDoc[]
querystring
theme'dark' | 'light'
autoplaybooleanShowcase mode: searches different words until touched.

Methods on the ref

Use it in React

import ScanResults from './ScanResults';

<ScanResults />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Seek

Good for: Search and command palette.