Parqui
A complete Parquet file exploration UI. Includes a toolbar with Open button, file metadata display, a file drop zone, and the data grid with all features.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
source | File | ArrayBuffer | string | ParquetSource | — | Parquet data source. Supports File, in-memory ArrayBuffer, URL string, or custom ParquetSource. |
onRequestOpen | () => Promise<{source, name} | null> | — | Custom file open handler. Replaces the default browser file picker. |
columns | string[] | all | Columns to display. By default, all columns from the Parquet schema are shown. |
allowOpen | boolean | true | Show the Open button, close button and file drop zone. |
showToolbar | boolean | true | Show the toolbar (file name, search, chips, export menu). |
exporting | boolean | ParquiExportingOptions | true | Export menu in the toolbar. false hides it; an object customizes formats, filename and serialization. See the Export page. |
onExporting | (file: ExportingFile) => void | Promise<void> | — | Receives each exported file ({ blob, filename, format }) instead of the browser download — e.g. a native save dialog or an upload. |
className | string | — | CSS class for the outer wrapper element. |
style | React.CSSProperties | — | Inline styles for the root container. |
Basic usage
Zero configuration — shows a file drop zone where users drag-and-drop their .parquet files:
Loading...
With file input
Combine with an external <input type="file"> to pass files via source:
Loading...
Load from URL
Pre-load a Parquet file by passing a URL via source:
Loading...
Custom file open handler (Tauri)
Use onRequestOpen to integrate with native file dialogs. This example requires Tauri runtime:
Loading...
Export
The toolbar includes an Export menu (CSV, JSON, NDJSON). See Export for formats, custom saving and live examples.