10.22.6 • Published 5 months ago

@heathmont/moon-table-v8-tw v10.22.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

📦 Moon React Table component package

A Table component designed to provide flexibility and reusability for building dynamic tables in React applications.

🚀 Features

  • 🏗 Modular components for building tables
  • 📜 Scrollable cell support (CellScroller)
  • 📏 Responsive table wrapper (TableWrapper)
  • 🔄 Separate components for table structure (THead, TBody, TFoot, etc.)
  • 📌 TypeScript support included (types)

📦 Installation

Install via npm:

npm install @heathmont/moon-table-v8-tw

Or using pnpm:

pnpm install @heathmont/moon-table-v8-tw

Or yarn:

yarn @heathmont/moon-table-v8-tw

🎯 Usage

Basic Table Example

import { Table, THead, TBody, TR, TH, TD } from "@heathmont/moon-table-tw/lib";

const MyTable = () => (
  <Table>
    <THead>
      <TR>
        <TH>Name</TH>
        <TH>Age</TH>
      </TR>
    </THead>
    <TBody>
      <TR>
        <TD>John Doe</TD>
        <TD>28</TD>
      </TR>
      <TR>
        <TD>Jane Smith</TD>
        <TD>32</TD>
      </TR>
    </TBody>
  </Table>
);

export default MyTable;

📚 Components

ComponentDescription
TableThe main table wrapper
TableWrapperA responsive wrapper for table layouts
THeadTable header section
TBodyTable body section
TFootTable footer section
TRTable row
THTable header cell
TDTable data cell
CellScrollerProvides scroll functionality for table cells

🧭 Explore more

Themes package

SearchCmdk package

Base package

Core package

🛠️ Contributing

If you're interested in contributing to Moon Design System, please read our contributing docs before submitting a pull request.

10.20.0

9 months ago

10.22.5

5 months ago

10.22.6

5 months ago

10.22.3

7 months ago

10.22.4

6 months ago

10.22.1

7 months ago

10.21.2

7 months ago

10.22.2

7 months ago

10.21.0

7 months ago

10.21.1

7 months ago

10.18.0

11 months ago

10.17.5

1 year ago

10.17.0

1 year ago

10.16.1

1 year ago

10.17.3

1 year ago

10.17.2

1 year ago

10.14.1

2 years ago

10.14.0

2 years ago

10.13.5

2 years ago

10.13.1

2 years ago

10.13.0

2 years ago

10.12.2

2 years ago

10.12.1

2 years ago