Liquid Multimodal Input

Drop a file, type a thought. The input breathes open to meet you.

Loading preview...

Props

PropTypeDefaultDescription
placeholderstring"Ask anything, or drop files…"Placeholder text shown when the input is empty.
maxHeightnumber250Maximum height in pixels before the textarea scrolls.
acceptstring"image/*,application/pdf,text/*"Accepted file MIME types for the drop zone and file picker.
defaultModel"fast" | "thinking" | "pro""pro"Initial selected model when uncontrolled.
onSubmit(value: string, files: File[], model: LiquidModel) => void-Fired when the user submits via Enter (without Shift) or the send button.
onChange(value: string) => void-Fired on every text change.
onModelChange(model: LiquidModel) => void-Fired when the selected model changes.
hideModelbooleanfalseHide the built-in model selector when the host app owns model state.