How to create a table that can be searched

I want to create a table with a input-search. I don’t kow how to filter data when I input sonmething. I try to use Algolia, but it is not fit table maybe. The page is like this picture.

You can write custom JS for this or use something like Pagefind. You can set indexing for the table.

I try it but feel difficulty. I found a good Javascript library that is DataTables. Thanks for your advice finally.

1 Like

This is not a Hugo question…