A Next.js Airtable-style spreadsheet built on AG Grid that shows how to add comments, a comments sidebar, presence and notifications with the Velt SDK.
An Airtable-style inventory grid built with Next.js, AG Grid and the Velt SDK. It shows how to add commenting and multi-user collaboration to a data-heavy SaaS screen: comment on cells, review threads in a sidebar, see who else is online and get in-app notifications.
Velt provides the provider, comment tool, comment layer, comments sidebar, presence avatars and the notification bell. Users are predefined, so you can switch identities and test collaboration in two browser windows. A live demo is at airtable-velt.vercel.app.
- AG Grid data table: A React data grid with sortable, editable columns and no third-party dependencies.
- Real-time comments: Add and view comments with
VeltCommentsandVeltCommentTool. - Comments sidebar: Review and manage every thread with
VeltCommentsSidebarandVeltSidebarButton. - Presence:
VeltPresenceshows which users are currently active. - Notifications:
VeltNotificationsToolprovides an in-app notification bell. - Multi-user switching: Switch between predefined users with avatars.
- Dark and light theme: Toggle themes, including the Velt UI.
- Sidebar and metric cards: Navigation sidebar and info cards around the grid.
| Layer | Tool |
|---|---|
| Framework | Next.js (App Router) |
| Collaboration | Velt (@veltdev/react) |
| Data grid | AG Grid |
| UI | React, Tailwind CSS, shadcn/ui, Radix UI |
| State | Zustand |
| Icons | Lucide React |
| Deployment | Vercel |
- Node.js 16 or newer
- npm 8 or newer (the README also uses pnpm)
- A Velt API key from the Velt console
git clone https://github.com/Studio1HQ/airtable-velt.git
cd airtable-velt
npm installCopy sample.env to .env.local and fill it in.
| Variable | Description |
|---|---|
NEXT_PUBLIC_VELT_ID |
Your Velt API key, from the Velt dashboard. |
npm run devOpen http://localhost:3000. Other scripts: npm run build, npm run start, npm run lint.
The app wraps the page in VeltProvider, identifies one of the predefined users with the Velt client and sets the document to airtable-inventory. Comment bubbles are custom styled, and dark mode is passed through to the Velt components. The project was built against Velt SDK 4.5.8-beta.1.
airtable-velt/
├── app/ # Next.js app directory, (app) layout
├── components/
│ ├── (general)/ # Velt integration components and AG Grid
│ └── ui/ # shadcn/ui components
├── helper/ # Predefined users
├── hooks/ # Toast and theme hooks
└── lib/ # Utilities, types and constant data
Troubleshooting:
- Velt key problems: Check that the key is set in
.env.localand is active in the Velt dashboard. - Collaboration not working: Check the browser console and your network connection.
- Build issues: Delete
.nextandnode_modules, reinstall, and check your Node.js version.
- Velt documentation: Getting started and API reference.
- Velt: Product site.
- Velt dashboard: Create projects and API keys.
- Velt on GitHub: Velt open source repos.
- AG Grid docs: React data grid reference.
- shadcn/ui docs: UI component reference.
Built by Studio1, the technical content and DevRel partner for devtool teams. Made with Velt.
Browse more open-source examples at github.com/Studio1HQ.
studio1hq.com · Technical content, docs, video and DevRel for devtools