Core building blocks for AI apps.
High-quality, accessible, and customizable components for AI interfaces.
import {
PromptInput,
PromptInputTextarea,
PromptInputAction,
} from '@/components/ui/prompt-input';
function PromptInputBasic() {
return (
<PromptInput>
<PromptInputTextarea placeholder='Ask prompt-kit' />
<PromptInputActions>
<PromptInputAction tooltip='Upload File'>
<Button>Upload File</Button>
</PromptInputAction>
<PromptInputAction tooltip='Send'>
<Button>Send</Button>
</PromptInputAction>
</PromptInputActions>
</PromptInput>
);
}