AI Components

AI Component Library

Production-ready UI components purpose-built for AI product experiences — loading states, streaming text, confidence indicators, and more.

AI Component

File attachment control

Uploads documents or assets so the AI can ground its answer in user-provided material.

Input

File attachment control

What & How it Works

Uploads documents or assets so the AI can ground its answer in user-provided material. It shifts the system from generic generation to context-aware assistance.

How to Design & States

Show file types and limits; make upload progress visible; indicate indexing/processing; let users remove or replace files; surface failures clearly; support idle, uploading, attached, indexing, failed, and removed states.

Examples

ChatGPT file uploads; Copilot file upload; document-grounded chat tools.

Stay ahead in AI design

Get the latest patterns, principles, and tools — straight to your inbox. No spam, ever.