Component packs › Aurora › Starlight Search

Starlight Search

Every keystroke releases sparks from the caret that drift up and fade, and matches rise in below.

Starlight Search is an input from Aurora, a component pack with 7 components: Living light for calm, premium interfaces. Price: $2 for the whole pack.

Built with: caret-measured sparks, glowing focus, combobox listbox.

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.

Starlight Search props

PropTypeDefaultDescription
placeholderstring
suggestionsstring[]
secondstring
autoplaybooleanShowcase mode: types a query by itself.
onSearch(q: string) => void

Methods on the ref

Use it in React

import StarlightSearch from './StarlightSearch';

<StarlightSearch />

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

More in Aurora

Good for: Glassmorphism UI, Text animation.