Semana de lançamento50% de desconto em um ano de AuteurVer planos
EspaçosAssinar o Pro
Todos os componentes

Search field Grátis

Cancel slides in when you start, and results make room for each other as they filter.

Abrir no editor
  • MMonmouth CoffeeCoffee · Borough
  • PPadellaPasta · Borough Market
  • DDishoomIndian · Shoreditch
  • FFlat IronSteak · Soho
  • PPophamsBakery · Islington
Cadastre-se grátis para baixar

Use para

  • Filtering a list people already have in front of them.

Não use para

  • Searching a whole service. Give it a screen of its own.

Props

Lidas do próprio TypeScript do componente, então estão sempre atualizadas.

PropTipoPadrão
itemsObrigatória{ id: string; title: string; sub: string; tone: string }[]
placeholderstring'Search'

Melhore com uma skill

Adicione uma ao seu agente e ele usa Search field do jeito que foi pensado.

Interface copyGrátis

Writes the labels and messages around it in plain, human words.

$npx velvo skill ui-copy
Ler a skill
Spacing and buttonsGrátis

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Ler a skill

Specs

Category
Forms
Tier
Free
Built with
React and TypeScript
Files
15
Size
372 KB
Needs
framer-motion
Install
npx velvo add search-field
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo free licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

formsformfreereact
PróximoCode input