A collection of six standalone apps built with Velt: a Tiptap email editor, a video player, an email composer, a data grid, a spreadsheet and an inventory list.
This repo collects standalone example apps built with Velt. Each folder is its own project with its own dependencies, README and environment setup, so you can copy the one closest to what you are building.
| Example | Folder | Stack | What it shows |
|---|---|---|---|
| Tiptap email editor | TiptapEmailEditor |
React, Vite | Inline comments on rich text in an email composer. |
| Video player | VideoPlayer |
React, Vite | Comments on video with VeltVideoPlayer, presence and dark mode. |
| Customer.io email composer | customerio |
Next.js | Tiptap composer with comments, notifications and user switching. |
| Data grid | datagrid |
Next.js | Presence and comments on cells of a sortable grid. |
| Spreadsheet | spreadsheet |
Next.js | Presence and comments on a spreadsheet with cell selection. |
| StockSync inventory | StockSync |
Next.js | Inline comments on an inventory management list. |
- Inline comments on rich text:
TiptapVeltCommentswithVeltCommentsin the Tiptap examples. - Video comments:
VeltVideoPlayerfor time-anchored comments on a video. - Cell-level comments:
VeltCommentToolandVeltCommentson data grid and spreadsheet cells. - Presence and cursors:
VeltPresenceandVeltCursorin the grid and spreadsheet examples. - Notifications and sidebar:
VeltNotificationsTool,VeltCommentsSidebarandVeltSidebarButton. - Inline comment sections:
VeltInlineCommentsSectionin StockSync. - Multi-user testing: Predefined or generated users so one person can test collaboration.
- Dark and light themes: Supported across the examples.
| Layer | Tool |
|---|---|
| Frameworks | Next.js (datagrid, spreadsheet, customerio, StockSync), React 18 with Vite (TiptapEmailEditor, VideoPlayer) |
| Collaboration | Velt (@veltdev/react, @veltdev/tiptap-velt-comments) |
| Editor | Tiptap |
| UI | Tailwind CSS, shadcn/ui, MUI (datagrid), Lucide |
| Language | TypeScript |
- Node.js 18 or later
- npm 8 or later, or yarn (the spreadsheet example uses pnpm)
- A Velt API key from the Velt console
git clone https://github.com/Studio1HQ/Velt-Examples.git
cd Velt-Examples
cd TiptapEmailEditor # or VideoPlayer, customerio, datagrid, spreadsheet, StockSync
npm install # spreadsheet: pnpm installEach example reads its own variable. Check the example's folder for .env.sample.
| Variable | Used by | Description |
|---|---|---|
VITE_VELT_API_KEY |
TiptapEmailEditor, VideoPlayer | Velt API key. Copy .env.sample to .env. |
VITE_AUTH_TOKEN |
VideoPlayer | Velt auth token read by the video player example. |
NEXT_PUBLIC_VELT_API_KEY |
datagrid, spreadsheet, StockSync | Velt API key. |
NEXT_PUBLIC_VELT_ID |
customerio | Velt API key. Put it in .env.local. |
npm run dev # start the dev server
npm run build # production build
npm run preview # preview the build (Vite examples)
npm run lintVite examples run at http://localhost:5173, Next.js examples at http://localhost:3000.
The Vite examples (TiptapEmailEditor, VideoPlayer) share a layout: src/services/AuthComponent.tsx identifies the user, src/services/YourDocument.tsx sets the Velt document, src/config.ts holds config and src/utils/constant.tsx holds constants. TiptapEmailEditor adds BubbleMenu, Toolbar and EmailComposer components and wires TiptapVeltComments. VideoPlayer renders VeltVideoPlayer with a Topbar showing presence and a theme context.
The Next.js examples wrap the app in a VeltProvider wrapper component, identify the user and set the document with VeltInitializeUser and VeltInitializeDocument (datagrid, spreadsheet). StockSync shows inventory with inline comments, quick filters and metric cards.
These examples are for demonstration and may not cover production scenarios. See the Velt docs for full guidance.
- Live examples: deployed examples (repo homepage).
- Velt documentation: SDK guides.
- Velt React SDK docs: React integration.
- Velt console: API key.
- Velt: product site.
- Velt community: Discord.
- Tiptap documentation: editor framework.
Released under the MIT License.
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