Skip to content

mckervinc/react-fluid-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fa89a0c · Apr 19, 2025
Apr 1, 2025
Apr 18, 2025
Apr 19, 2025
Sep 27, 2023
Jan 30, 2020
Mar 31, 2025
Sep 28, 2023
Oct 4, 2023
Apr 19, 2025
Feb 11, 2020
Apr 18, 2025
Oct 3, 2023
Apr 1, 2025
Apr 18, 2025
Apr 19, 2025
Jun 13, 2024
May 31, 2024
Apr 18, 2025

Repository files navigation

react-fluid-table

A React table inspired by @tanstack/react-virtual

NPM JavaScript Style Guide

Install

# using yarn
yarn add react-fluid-table

# using npm
npm i react-fluid-table

# using pnpm
pnpm i react-fluid-table

Usage

import "react-fluid-table/dist/index.css"; // this only needs to be imported once
import { Table } from "react-fluid-table";

const data = _.range(100).map(i => ({
  id: i + 1,
  firstName: randFirstName(),
  lastName: randLastName(),
  email: randEmail()
}));

const columns = [
  {
    key: "firstName",
    header: "First Name",
    width: 100
  },
  {
    key: "lastName",
    header: "Last Name",
    width: 100
  },
  {
    key: "email",
    header: "Email"
  }
];

const Example = () => <Table data={data} columns={columns} />;

Development

To get a development environment working, run the following:

Installation

$ yarn install
$ cd example
$ yarn install

Usage

$ yarn start

License

MIT © Mckervin Ceme <[email protected]>


This application was created using create-react-hook.

This application features some icons from Font Awesome.