Tanstack Table
Hi, I have found a library which is called shadcn-ui, in which I could easily implement Tanstack table. You have to use react and tailwind CSS at least. You could use vanilla javascript, but I haven’t tried(tried typescript only).
You have to install react and tailwind first and run the following command.
npx shadcn-ui@latest initand answer the questions as no(for javascript), default, slate, using CSS variable.
For the path, please configure it to suit your folder structure. The default one is for next.js.
If you are going to add a button, just run the following command
npx shadcn-ui@latest add buttonand fix the cn import.
It is a quite good library without installing many dependencies to your application and you could customize it as you like. If you are developing a web app, it is a good start.