npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tiptap-table-free

v0.2.4

Published

A free table extension for Tiptap editor

Downloads

34

Readme

Tiptap Table Free

@tiptap/cli not suported table extension for free? No worries! This is for you, built with Next.js and TypeScript. This project provides a comprehensive set of components and utilities to easily integrate table functionality into your Tiptap editor.

🚀 Quick Start

Using the CLI

First install the Tiptap CLI (https://tiptap.dev/docs/ui-components/getting-started/cli) and dependencies (StarterKit, @tiptap/react, etc...) if you haven't already:

npm install @tiptap/react @tiptap/pm @tiptap/starter-kit @tiptap/extension-table
npx @tiptap/cli@latest init

You may need to install the following dependencies:

  • @tiptap/react
  • @tiptap/pm
  • @tiptap/starter-kit
  • @tiptap/extension-table
  • npx @tiptap/cli@latest add dropdown-menu
  • npx @tiptap/cli@latest add button
  • npx @tiptap/cli@latest add badge

The easiest way to add table support to your Tiptap editor is using our CLI:

npx tiptap-table-free

This will generate all necessary components in your project:

  • @/components/tiptap-icons/ - Table-related icons
  • @/components/tiptap-node/ - Table styling (SCSS)
  • @/components/tiptap-ui/table-button/ - Table button components
  • @/components/tiptap-ui/table-dropdown-menu/ - Table dropdown menu

Manual Installation

If you prefer to clone the entire project:

  1. Clone the repository:
git clone https://github.com/kid1z/tiptap-table-free.git
cd tiptap-table-free
  1. Install dependencies:
npm install
# or
yarn install
# or
pnpm install
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
  1. Open http://localhost:3000 in your browser to see the editor.

📦 Pre-requisites

  • Node.js 20+
  • npm, yarn, pnpm, or bun
  • Tiptap (https://tiptap.dev/)
  • Next.js (https://nextjs.org/)
  • Make sure that you install the latest version of tiptap/cli (https://tiptap.dev/docs/ui-components/getting-started/cli)

🎯 Usage

Basic Editor Setup

"use client"

import { EditorContent, EditorContext, useEditor } from '@tiptap/react'
import { StarterKit } from '@tiptap/starter-kit'
import { TableKit } from '@tiptap/extension-table'
import { TableDropdownList } from '@/components/tiptap-ui/table-dropdown-menu'

import '@/components/tiptap-node/table-node.scss'

export default function MyEditor() {
  const editor = useEditor({
    immediatelyRender: false,
    extensions: [
      TableKit.configure({
        table: { resizable: true },
      }),
      StarterKit
    ],
    content: '<p>Start editing...</p>',
  })

  return (
    <EditorContext.Provider value={{ editor }}>
      <TableDropdownList />
      <EditorContent editor={editor} role="presentation" />
    </EditorContext.Provider>
  )
}

Don't forget to import the styles:

import '@/components/tiptap-node/table-node.scss'

Table Operations

The editor supports the following table operations:

  • Insert Table - Create a new table
  • Add Column Before/After - Insert columns
  • Delete Column - Remove selected column
  • Add Row Before/After - Insert rows
  • Delete Row - Remove selected row
  • Delete Table - Remove entire table
  • Merge Cells - Combine selected cells
  • Split Cell - Divide merged cells
  • Toggle Header Row/Column/Cell - Mark cells as headers

🧩 Component Structure

src/
├── components/
│   ├── tiptap-icons/          # SVG icons for editor actions
│   ├── tiptap-node/           # Node-specific styles (tables)
│   ├── tiptap-ui/             # High-level UI components
│   │   ├── table-button/
│   │   └── table-dropdown-menu/
│   └── tiptap-ui-primitive/   # Base UI primitives
│       ├── badge/ (need to install via tiptap/cli)
│       ├── button/ (need to install via tiptap/cli)
│       ├── dropdown-menu/ (need to install via tiptap/cli)
├── hooks/
│   └── use-tiptap-editor.ts   # Editor context hook
├── lib/
│   └── tiptap-utils.ts        # Utility functions
└── styles/
    ├── _variables.scss        # CSS custom properties
    └── _keyframe-animations.scss

📝 Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run start - Start production server
  • npm run lint - Run ESLint

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Built with ❤️ using Tiptap and Next.js