App UI kits › Cairn › Search

Search

Hits are highlighted as you type; late cards lean and say who is checking them, and an in-date switch hides them.

Search is a screen from Cairn, an app ui kit with 10 screens: A team knowledge base app where every answer shows its sources, and old cards lean. Price: $5 for the whole pack.

Built with: live search, FLIP results, trust markers.

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.

Search props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosCiPhotos
onOpen(cardId: string) => void
onAsk(q: string) => void

Methods on the ref

Use it in React

import CairnSearch from './CairnSearch';

<CairnSearch />

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

More in Cairn

Good for: Knowledge base app UI, UK (pounds).