Vibary.ai
← Vibe Coding

Search Start Prompt

Before the first keystroke, the rule under the field draws out and starting points arrive beneath it.

empty-statesminimalelegantautomatic · finite · starter · ~0.9s
Variant

The animated component in this preview is rendered from the canonical file shown here. The surrounding demo shell only provides context and is not part of the copied code.

293 lines · react + motion only
import { useState } from "react";
import { motion, useReducedMotion } from "motion/react";

/**
 * Vibary · Search Start Prompt
 *
 * The state before the first keystroke. The rule under the field draws
 * out to the right, the way a cursor would travel, and the starting

About this pattern

A field with nothing typed in it is an empty state that most products leave blank. This one gives the reader somewhere to begin: the rule under the field draws out to the right, in the direction a caret would travel, and the starting points arrive under it in reading order — what this person looked for recently, then what their team looks for. Picking one writes the term into the field in the same cell it was prompting from, so the panel holds its size between prompt and query. Nothing springs, because this is read while someone is deciding what to type.

Search panel before a queryRecent searches listEmpty lookup fieldJump-to overlay at rest

Where it shows up

Screens we drew to show where this motion usually sits. Illustrations, not captures of any product.

  • Ridgeline
    Search
    Inbox
    Docs
    Files
    Issues
    SearchNew
    Contract renewalInbox · matched “renewal terms”
    Supplier contract.docxFiles · matched “renewal”
    Q3 planning notesDocs · matched “renewal window”
    RID-412 renewal bannerIssues · matched “renewal”
    Search results

    Focusing the field before typing surfaces recent lookups beneath it.

Related patterns