Lanceringsuge50 % rabat på et år AuteurSe planer
SpacesFå Pro
Alle 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.

Ask something. Send turns into Stop while it answers.

Karakter
Legesyg
Tilmeld dig gratis for at downloade

Brug den til

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

Ikke til

  • 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æst direkte fra komponentens egen TypeScript, så de altid er opdaterede.

<PromptBox />

PropTypeStandard
placeholderstring'Ask anything'
busybooleanfalse
onSendPåkrævet(text: string) => void
onStop() => void
toolsbooleantrue
modelReactNode

<SendStop />

PropTypeStandard
busyPåkrævetboolean
readyPåkrævetboolean
onSendPåkrævet() => void
onStop() => void

Bedre med en skill

Giv din agent en, så bruger den Prompt box, som den er tænkt.

Empty, loading and error statesPro

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

Følger med 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
368 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æsteThinking