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

react-deep-table

v0.0.1

Published

react-deep-table is a powerful and customizable React library for creating feature-rich, dynamic tables with unlimited nested rows. Simplify complex data representation with intuitive expand/collapse functionality and seamless performance. Perfect for bui

Readme

Welcome to react-deep-table 👋

npm version node version CDNJS install size Gitpod Ready-to-Code Build status npm bundle size downloads License Known Vulnerabilities

Introduction

react-deep-table is a powerful and customizable React library for creating feature-rich, dynamic tables with unlimited nested rows. Simplify complex data representation with intuitive expand/collapse functionality and seamless performance. Perfect for building scalable and interactive data grids in modern React applications .

Table of Contents

Features

  • no external script loading, i.e. no dependencies on SDKs
  • supports tree shaking with ES modules
  • use own style pop-up window
  • share buttons for:
    • Facebook
    • Twitter
    • Email
    • Instagram

Installation

You can install react-deep-table via npm or yarn:

npm install react-deep-table

or

yarn add react-deep-table

Version Information

Current Version: 2.1.8

This is an alpha version of react-deep-table. It includes the latest features and improvements but may also contain bugs or unfinished functionality. We encourage developers to test this version but recommend using it in non-production environments.

Previous Stable Version: 2.1.5

If you prefer stability over new features, you may choose to use the latest stable version. It is well-tested and suitable for production environments. You can install it by running:

Usage

To use react-deep-table, import the desired components and render them in your React application. Below is a basic example:

Basic Example

import React from "react";
import {
Table
} from "react-deep-table";

const TableComponent = () => {
	const demoData = [
    {
      id: 1,
      name: "Category 1",
      value: "Value 1",
      status: "Active",
      date: "2024-12-03",
      children: [
        {
          id: 2,
          name: "Subcategory 1.1",
          value: "Value 1.1",
          status: "Inactive",
          date: "2024-11-20",
          children: [
            { id: 3, name: "Item 1.1.1", value: "Value 1.1.1", status: "Active", date: "2024-11-10" },
          ],
        },
        {
          id: 4,
          name: "Subcategory 1.2",
          value: "Value 1.2",
          status: "Active",
          date: "2024-10-30",
        },
      ],
    },
  ];

	const headerData = ['ID', 'Name', 'Value', 'Status', 'Date']
  

	return (
		<div>
			 <Table body={demoData} header={headerData} />
		</div>
	);
};

export default TableComponent;

Customization

react-deep-table customize the buttons by applying your own styles and configurations. Here’s how you can enhance the appearance and behavior of your buttons:

Custom Children

You can pass any React node as children to the share buttons, allowing you to use custom images, SVGs, or text. This gives you the flexibility to design buttons that fit your application's branding.

Example

let COSTUM_STYLE_OBJECT = {
  border: '1px solid #ddd',
  headerColor: "#007BFF",
  footerColor: "#28A745",
  bodyColor: "#F8F9FA",
  tableColor : "#FFFFFF",
}


<Table costumStyle={COSTUM_STYLE_OBJECT}  costumClass = 'react-deep-table'>

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contributing

We welcome contributions! Please read our CONTRIBUTING.md for guidelines on how to get started.

Issues

If you encounter any issues, please read our ISSUES.md for guidlines how to submit a issue .

New_Feature

We welcome contributing a new feature to react-deep-table Please read our NEW_FEATURE.md for guidelines for how to propose a new feature.

Contact

For any questions or feedback, please reach out to [[email protected]].