Table screenshot

Table

Author Avatar Theme by React component
Updated: 4 Jan 2026
1363 Stars

React Table

Categories

Overview:

The rc-table is a React table component with various useful functions. It offers features such as customizable table layout, prefixing, fixed headers, scrollable tables, expandable rows, row customization, and more. It provides a versatile solution for creating tables in React applications with ease.

Features:

  • tableLayout: Auto or fixed table layout option
  • prefixCls: Customizable prefix for the table class
  • useFixedHeader: Option to use a separator table for headers
  • scroll: Ability to enable scrolling in x and y directions
  • expandable: Configurable expandable row properties
  • rowKey: Customizable key for each row
  • data: Data record array for rendering in the table
  • onRow: Function to set custom props for each row

Installation:

To install the rc-table theme, you can use the npm package manager. Run the following command in your project directory:

npm install rc-table

Then you can import the rc-table component in your React application as needed.

Summary:

The rc-table React component provides a feature-rich solution for creating tables in React applications. With options for customizing table layout, headers, scrolling, expandable rows, row keys, and more, it offers flexibility and versatility in table design. By following the installation guide and utilizing the key features provided by rc-table, developers can easily implement complex tables with advanced functionalities in their React projects.