Skip to content
Cynco UI

AI

CompactPromptInput

A one-line prompt field with the submit button inline.

import { CompactPromptInput } from "@cynco-labs/ui/ai";

Example

Use

Small "ask about this" boxes without attachments.

Props

value, onChange, onSubmit, placeholder, isLoading.

Source Demo source Markdown