MNEE
v0.0.1

Components

Table

In Progress

Compound table primitives for displaying structured data. Compose Table, TableHead, TableBody, TableRow, TableHeader, and TableCell exactly like native HTML table elements — the design system handles borders, hover states, and typography.

Basic

NameStatusAmountDate
Alice Johnsonsuccess$1,200.00Feb 24, 2026
Bob Martinezwarning$340.50Feb 23, 2026
Carol Leesuccess$5,780.00Feb 22, 2026
David Kimdestructive$90.00Feb 21, 2026

Sortable headers

NameStatus
Feb 24, 2026Alice Johnson$1,200.00success
Feb 23, 2026Bob Martinez$340.50warning
Feb 22, 2026Carol Lee$5,780.00success
Feb 21, 2026David Kim$90.00destructive

Loading state

NameAmountStatus

Empty state

NameAmountStatus

No transactions yet

Transactions will appear here once customers make payments.

With pagination

NameAmountStatus
Alice Johnson$1,200.00success
Bob Martinez$340.50warning
Page 1 of 6 (12 items)
1

Usage

import {  Table, TableHead, TableBody, TableRow,  TableHeader, TableCell, TableEmpty, TableLoading,  Pagination,} from "@mnee-ui/ui"

TableHeader props

PropTypeDefaultDescription
sortablebooleanfalseRenders a button with sort indicator
sortDirection"asc" | "desc" | nullnullCurrent sort direction — controls the ↑↓ indicator
onSort() => voidCalled when the sort button is clicked

Pagination props

PropTypeDefaultDescription
pagenumberCurrent page (1-indexed)
totalPagesnumberTotal number of pages
totalItemsnumberOptional total item count shown in the label
onPageChange(page: number) => voidCalled with the new page number

All sub-components accept className for layout utilities only (alignment, padding, width). The design system controls borders, hover states, and typography.