Built a shadcn/ui table heavily inspired by MRT #1524
Monabbir-Ahmmad
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey Kevin 👋
I used MRT for years and didn't really appreciate how much it was doing until my team moved to Tailwind/shadcn and I had to replace it. I couldn't find anything in the shadcn ecosystem that felt comparable, so I ended up building the table I was missing.
shadcn-react-table is a data table for shadcn/ui built on TanStack Table v8. It's shipped as a registry block, so people copy the source into their project instead of installing a package. The API is heavily inspired by MRT V3—same
enable*flags,renderDetailPanel, density, editing modes, localization/icon overrides, etc. I basically tried to preserve the parts of MRT that made it so nice to use.Repo: https://github.com/Monabbir-Ahmmad/shadcn-react-table
Docs: https://monabbir-ahmmad.github.io/shadcn-react-table/
If you ever have a few minutes to check it out, I'd love to hear if there are any parts of MRT's API you'd design differently now. I'm still early enough that I can make changes. I'd also be interested in what you think about the copy-the-source approach versus publishing a package, since you've been on the library side of things.
No pressure at all, though. I mostly just wanted to say thanks for building MRT. It made a big impact on how I think about table APIs. And if you'd prefer the MRT credit in the repo to be worded differently, just let me know.
All reactions