Skip to content
satin

Prompt bar

Where people write to an agent: attachments, model, voice and send.

Type a message and press Enter. + and the model open their menus.

API Reference

The PromptBar component is a wrapper around the form element with a text input, attachments, a model picker and a send button.

PropTypeDefault
shape
"pill""default"
"pill"
value
string
""
placeholder
string
"Write a message"
attachments
File[]
[]
model
string
—
disabled
boolean
false
onSubmit
(value: string) => void
—