Skip to content

material-table-core/core

Repository files navigation

@material-table/core

A highly customizable table library built on Material UI, forked from mbrn/material-table

build publish npm version discord


Check out our roadmap for upcoming features and improvements.

💾 Installation • 🎉 Basic Usage
Why this repo exists? • 🚧 Documentation • ⚙️ Demos


🚧 Mui V6 Support is in Progress

The team is working on migrating the library to be fully compatible with Material UI V6. Stay tuned!


🛠️ Installation

Install @material-table/core using npm or yarn:

npm install @material-table/core
or

bash
Code kopieren
yarn add @material-table/core
Refer to the installation guide for more information and advanced usage.

💡 Basic Usage
javascript
Code kopieren
import MaterialTable from '@material-table/core';

function MyTable() {
  return (
    <MaterialTable
      title="Simple Table"
      columns={[
        { title: 'Name', field: 'name' },
        { title: 'Age', field: 'age', type: 'numeric' },
      ]}
      data={[
        { name: 'John', age: 30 },
        { name: 'Jane', age: 25 },
      ]}
      options={{
        sorting: true,
        filtering: true,
      }}
    />
  );
}

Explore more features and advanced usage in our documentation.

🙌 Sponsorship

We appreciate contributions and sponsorships! You can support this project through:

GitHub Sponsors

Open Collective Your support helps us maintain and improve the project.

🚀 Contributing

Thank you for considering contributing to the project! The following items are in urgent need of attention:

Refactor: Replace data-manager.js with React Context. Documentation: Help us improve the docs. Tests: Implement unit tests using Jest to improve stability. We appreciate all contributions, big or small. Check out our contributing guide for more details.