Superinterface logo
Superinterface
Sign in
Getting started
AI Provider Setup
FAQ
Assistants
Create assistant
Functions
Interfaces
Create interface
Interaction Modes
AI Builder
Publish interface
Components
Annotations
Concepts
Why Superinterface
How it works
Tasks
Overview
Self-hosting
Overview
Run locally
REST API
Supabase
Deployment options
Add routes to Next.js
API reference
React
Installation
Components
Hooks
Contexts
Utils
optimisticId
isOptimistic
serializeMessage
enqueueJson
Thread ID storage
filesFieldAccept
Server
JavaScript
REST

filesFieldAccept

A comma-separated list of MIME types accepted by the file input in <Thread.MessageForm.Files>.
app.tsx
import { filesFieldAccept } from '@superinterface/react/utils' export const FileInput = () => ( <input type="file" accept={filesFieldAccept} /> )