Table is used to organize and render lists of information in a column/row format. It supports sorting, optional click handlers, and flexible cell content using ReactNode.
Enable sorting per column by setting sortable: true on the corresponding header. Click toggles between ascending and descending.
Add onRowClick to make rows interactive. A hover state is applied automatically.
Enable searchable to filter rows by cell content. Use searchPlaceholder to customize the input label.
Set paginated to split large datasets into pages. Control the default page size with defaultPageSize and pageSizeOptions.
Use loading to show a spinner while data is fetched. Provide emptyState or loadingState for custom placeholders.