Skip to content

About

Airtable-style AG Grid app with Velt comments, presence and notifications. Next.js, Tailwind, shadcn/ui.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Airtable-Style Grid with Velt: An Airtable-style data grid with live comments, presence and notifications

Airtable-Style Grid with Velt

An Airtable-style data grid with live comments, presence and notifications

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.


Built by Studio1 Built with Velt Live demo

Velt docs  ·  Velt  ·  More examples  ·  studio1hq.com


Overview

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.

Features

  • 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 VeltComments and VeltCommentTool.
  • Comments sidebar: Review and manage every thread with VeltCommentsSidebar and VeltSidebarButton.
  • Presence: VeltPresence shows which users are currently active.
  • Notifications: VeltNotificationsTool provides 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.

Tech stack

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

Getting started

Prerequisites

  • Node.js 16 or newer
  • npm 8 or newer (the README also uses pnpm)
  • A Velt API key from the Velt console

Installation

git clone https://github.com/Studio1HQ/airtable-velt.git
cd airtable-velt
npm install

Environment variables

Copy sample.env to .env.local and fill it in.

Variable Description
NEXT_PUBLIC_VELT_ID Your Velt API key, from the Velt dashboard.

Run

npm run dev

Open http://localhost:3000. Other scripts: npm run build, npm run start, npm run lint.

How it works

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.local and is active in the Velt dashboard.
  • Collaboration not working: Check the browser console and your network connection.
  • Build issues: Delete .next and node_modules, reinstall, and check your Node.js version.

Resources



Studio1

Built by Studio1, the technical content and DevRel partner for devtool teams. Made with Velt.
Browse more open-source examples at github.com/Studio1HQ.

Website Book a call X LinkedIn

studio1hq.com · Technical content, docs, video and DevRel for devtools

About

Airtable-style AG Grid app with Velt comments, presence and notifications. Next.js, Tailwind, shadcn/ui.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages