Dense Table.
npx shadcn@latest add @shadcnblocks/table-table-advanced-2
Sign in or get a license at Shadcn Blocks to see its source and install it.