Preact
GridSheet provides a lightweight Preact-based library that brings Excel-like functionality to your web applications. It can be used in vanilla JavaScript environments without any additional framework.
Installation
npm install @gridsheet/preact-core @gridsheet/functions
# or
yarn add @gridsheet/preact-core @gridsheet/functions
# or
pnpm add @gridsheet/preact-core @gridsheet/functionsIt is highly recommended to install and use @gridsheet/functions together with the core package to enable built-in spreadsheet functions.
Simple Usage
Single HTML Demo
You can try GridSheet in a single HTML file with no build tools — just load the packages from CDN via ESM imports.
View the source code (opens in a new tab) to see how it works.
Next Steps
- You can find more examples in the examples section.
- Refer to the API Reference for detailed documentation.