# Data Table

Members data table for admin panels with search, sortable name, role and joined columns, row and page checkboxes for bulk select, status badges, per-row action menus and pagination at six rows a page. Columns hide on narrow screens.

Block · Tables · https://01orbital.dev/docs/blocks/data-table

## Installation

```bash
npx shadcn@latest add @01orbital/data-table
```

## Make it yours

Named values at the top of `components/blocks/tables/data-table/index.tsx`: `COPY`, `COLUMNS`, `ACTIONS`, `ROWS`, `STATUS_VARIANT`, `PAGE_SIZE`. Its words are in `COPY`.

## Built from

Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

- [Badge](https://01orbital.dev/docs/components/badge)
- [Button](https://01orbital.dev/docs/components/button)
- [Card](https://01orbital.dev/docs/components/card)
- [Checkbox](https://01orbital.dev/docs/components/checkbox)
- [Dropdown Menu](https://01orbital.dev/docs/components/dropdown-menu)
- [Input](https://01orbital.dev/docs/components/input)
- [Input Group](https://01orbital.dev/docs/components/input-group)
- [Pagination](https://01orbital.dev/docs/components/pagination)
- [Table](https://01orbital.dev/docs/components/table)

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

npm: `@phosphor-icons/react`
