minflow

Text input

Search field

Search is present on most screens but wanted on few, so it rests as one glyph and opens into a full field on focus. Leaving it empty folds it closed again, which keeps the chrome quiet without hiding the feature.

npx shadcn@latest add @minflow/search-field

Where to use it

  • Headers and toolbars, where a permanent search field would dominate the chrome.
  • Any surface where search is available but secondary to the content.

Variations

Collapsing

The default. Opens on focus, folds closed on an empty blur, and clears with the trailing control.