Skip to content
PixiKit

Search Find

A search panel that finds things by itself: a query types in letter by letter, the grouped list filters live with the matches emphasised, the selection marker slides down and a detail card opens. Visitors can type their own query, use the arrow keys, Enter and Escape, hover or click a row, and replay.

pixikit.com/docs/blocks/illustrations/search-find

Customize

Autoplay
Loop
Speed1.0x
Height360px
Width560px

Props

13
NameTypeDefaultDescription
itemsSearchFindItem[]DEFAULT_ITEMSThe things to search through.
queriesstring[]DEFAULT_QUERIESThe searches the scene types by itself, one after another.
placeholderstring"Search"The text in the empty field.
emptyLabelstring"Nothing found"The text shown when nothing matches.
pickedLabelstring"Opened"The text on the pill of the detail card.
onPick(item: SearchFindItem) => voidNoneCalled when the visitor picks an item.
autoplaybooleantrueStarts when the scene scrolls into view; when off it waits for a click on replay.
loopbooleantruePlays on to the next file after the hold.
speednumber1Playback speed multiplier.
heightnumber360The height of the scene in px.
widthnumber560The widest the scene grows, in px. It shrinks to fit a narrower parent.
replayLabelstring"Replay"What screen readers call the replay button.
classNamestringNone

Related