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

Prompt box Grátis

A pill that opens into a composer as you reach for it. Send turns into Stop while it answers, and back when it’s done.

Abrir no editor

Ask something. Send turns into Stop while it answers.

Caráter
Brincalhão
Cadastre-se grátis para baixar

Use para

  • Any assistant, copilot or search that takes a question.
  • Chat screens, command bars and the bottom of an AI app.

Não use para

  • Short structured input like an email or a date. Use a field.
  • Hiding tools people need every time. Keep them on the bar.

Props

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

<PromptBox />

PropTipoPadrão
placeholderstring'Ask anything'
busybooleanfalse
onSendObrigatória(text: string) => void
onStop() => void
toolsbooleantrue
modelReactNode

<SendStop />

PropTipoPadrão
busyObrigatóriaboolean
readyObrigatóriaboolean
onSendObrigatória() => void
onStop() => void

Melhore com uma skill

Adicione uma ao seu agente e ele usa Prompt box do jeito que foi pensado.

Empty, loading and error statesPro

Designs its empty, loading and error moments, the ones that usually get forgotten.

Vem com o ProLer a skill
Interface copyGrátis

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

$npx velvo skill ui-copy
Ler a skill

Specs

Category
AI
Tier
Free
Built with
React and TypeScript
Files
17
Size
378 KB
Needs
framer-motion
Install
npx velvo add prompt-box
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

aifreereact
PróximoThinking