Examples
Live demos with copyable source. Each one is a small single-file component — click the button to download a real file, or use Show code to copy it into your app.
Simple exampleChoose fields, label columns and download an .xls file.Export CSVSwitch the type prop to csv and get a comma-separated file.Export .xlsxNative Excel workbooks with no "file format" warning.Multi-line valuesLine breaks inside a single cell.Using callbacksFormat values, fetch data on demand and show a loader.Cell formats & widthsCurrency, percentage and number formats, plus column widths.