Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Prompt box Gratuit

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.

Ouvrir dans l’éditeur

Ask something. Send turns into Stop while it answers.

Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

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

Pas pour

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

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

<PromptBox />

PropTypePar défaut
placeholderstring'Ask anything'
busybooleanfalse
onSendObligatoire(text: string) => void
onStop() => void
toolsbooleantrue
modelReactNode

<SendStop />

PropTypePar défaut
busyObligatoireboolean
readyObligatoireboolean
onSendObligatoire() => void
onStop() => void

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Prompt box comme prévu.

Empty, loading and error statesPro

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

Incluse dans ProLire la skill
Interface copyGratuit

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

$npx velvo skill ui-copy
Lire la 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
SuivantThinking