Prompt Input

The Prompt Input component allows a user to send a message with file attachments to a large language model. It includes a textarea, file upload capabilities, a submit button, and a dropdown for selecting the model.

Installation

pnpm dlx shadcn-svelte@latest add https://ai-elements.vercel.app/r/prompt-input.json

Usage