Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

Prompt box Бесплатно

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.

Характер
Игривый
Зарегистрируйтесь бесплатно, чтобы скачать

Подходит для

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

Не подходит для

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

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

<PromptBox />

ПропсТипПо умолчанию
placeholderstring'Ask anything'
busybooleanfalse
onSendОбязательный(text: string) => void
onStop() => void
toolsbooleantrue
modelReactNode

<SendStop />

ПропсТипПо умолчанию
busyОбязательныйboolean
readyОбязательныйboolean
onSendОбязательный() => void
onStop() => void

Лучше с навыком

Добавьте навык агенту, и он будет использовать Prompt box так, как задумано.

Empty, loading and error statesPro

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

Входит в ProОткрыть навык
Interface copyБесплатно

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

$npx velvo skill ui-copy
Открыть навык

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
ДальшеThinking