Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla komponenter

Prompt box Gratis

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.

Öppna i editorn

Ask something. Send turns into Stop while it answers.

Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

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

Inte till

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

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

<PromptBox />

PropTypStandard
placeholderstring'Ask anything'
busybooleanfalse
onSendKrävs(text: string) => void
onStop() => void
toolsbooleantrue
modelReactNode

<SendStop />

PropTypStandard
busyKrävsboolean
readyKrävsboolean
onSendKrävs() => void
onStop() => void

Bättre med en skill

Ge din agent en, så använder den Prompt box som det är tänkt.

Empty, loading and error statesPro

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

Ingår i ProLäs skillen
Interface copyGratis

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

$npx velvo skill ui-copy
Läs skillen

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
NästaThinking