MiHCM
data/@mihcm/ui·v0.21.0·stable

DataTable

Full-featured data table powered by TanStack Table v8. Sorting, filtering, pagination, selection, column visibility, expandable rows, column resize, column/row pinning, grouping, and faceted filtering — all via boolean props. 5 visual variants.

Live preview

Adjust the controls on the right; the preview and code update in real time.

EMP-001Aisha Kumariaisha@mihcm.comEngineeringActive$95,000
EMP-002Malik Chenmalik@mihcm.comDesignActive$88,000
EMP-003Sara Johanssonsara@mihcm.comProductOn Leave$102,000
EMP-004David Parkdavid@mihcm.comEngineeringActive$97,000
EMP-005Elena Ruizelena@mihcm.comQAActive$82,000
Rows per page
Page 1 of 2

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add DataTable
Copies the source into components/ds/DataTable.tsx. You own the file. Use --out to override the directory or --force to overwrite.