App UI kits › Fortnight › Search
Recent searches, then events and people as you type, with the match marked and an empty state.
Search is a screen from Fortnight, an app ui kit with 12 screens: A calendar you pinch like paper: the day stretches to quarter hours, free time labels itself, and a clash shows before you make it. Price: free.
Built with: live results, match marks, empty state.
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/fortnight-search.json
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | FNPhotos | ||
query | string | Query to start with. | |
onEvent | (id: string) => void | ||
onCancel | () => void |
setQuery(q: string): voiddestroy(): voidimport FortnightSearch from './FortnightSearch';
<FortnightSearch />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calendar app.