Spreadsheets for web pages and web apps
TREB is a library for adding fully interactive spreadsheets to any web page, web app or blog with just a few lines of code. You can use it to illustrate data, explain a calculation, or as part of your web app.
Easy to use
<!-- load the script from a CDN --><script type="module" src="https://unpkg.com/@trebco/treb"></script><!-- insert a spreadsheet in the page --><treb-spreadsheet document="/assets/income-statement.treb.json"></treb-spreadsheet>
<!-- load the script from a CDN --><script type="module" src="https://unpkg.com/@trebco/treb"></script><!-- insert a spreadsheet in the page --><treb-spreadsheet document="/assets/income-statement.treb.json"></treb-spreadsheet>
Small but powerful
- Full library of spreadsheet functions
- Comprehensive number & date formatting
- Theme with css
- API & events for programming
- Import and export XLSX files
- Open source