Neophobe Plebeian Mumpsimus

    TypeScript icon, indicating that this package has built-in type declarations

    1.7.22 • Public • Published

    Mantine DataTable

    NPM version License Stars Last commit Closed issues Downloads Language

    A "dark-theme aware" table component for your Mantine UI data-rich applications, featuring asynchronous data loading support, pagination, multiple rows selection, column sorting, custom cell data rendering, row context menu, row expansion, and more.

    Mantine DataTable

    Full documentation and examples

    Visit to view the full documentation and learn how to use it by browsing a comprehensive list of examples.


    Install the package and its dependencies:

    npm i @mantine/core @mantine/hooks @emotion/react mantine-datatable

    Use it in your code:

    import { Text } from '@mantine/core';
    import { DataTable } from 'mantine-datatable';
    export default function GettingStartedExample() {
      return (
          // provide data
            { id: 1, name: 'Joe Biden', bornIn: 1942, party: 'Democratic' },
            // more records...
          // define columns
              accessor: 'id',
              // this column has a custom title
              title: '#',
              // right-align column
              textAlignment: 'right',
            { accessor: 'name' },
              accessor: 'party',
              // this column has custom cell data rendering
              render: ({ party }) => (
                <Text weight={700} color={party === 'Democratic' ? 'blue' : 'red'}>
                  {party.slice(0, 3).toUpperCase()}
            { accessor: 'bornIn' },
          // execute this callback when a row is clicked
          onRowClick={({ name, party, bornIn }) =>
            alert(`You clicked on ${name}, a ${party.toLowerCase()} president born in ${bornIn}.`)

    Have a look at the available component properties and make sure to browse the comprehensive list of usage examples.

    Code contributors

    Contributors list

    Want to become a code contributor?

    Supporting the project

    If you find this package useful, please 🙏star the repository, 💕tweet about it, 👍endorse me on LinkedIn or consider hiring my services.

    The more stars this repository gets, the more visibility it gains among the Mantine users community. The more users it gets, the more chances that some of those users will become active code contributors willing to put their effort into bringing new features to life and/or fixing bugs.

    As the repository gain awareness, my chances of getting hired to work on Mantine-based projects will increase, which in turn will help maintain my vested interest in keeping the project alive.

    Hiring the author

    If you want to hire my services, don’t hesitate to drop me a line at the email address listed in my GitHub profile. I’m currently getting a constant flow of approaches, some of them relevant, others not so relevant. Mentioning “Mantine DataTable” in your text would help me prioritize your message.


    The MIT License.


    npm i mantine-datatable

    DownloadsWeekly Downloads






    Unpacked Size

    320 kB

    Total Files


    Last publish


    • icflorescu