# Ecommerce Product List: Table List

A table listing products in rows with columns for image, name, stock, and price. Ideal for dashboards, admin catalogs, and bulk inventory views.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/table-list
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce), Free tier
- Group: [Product List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/table-list.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-product-list-table-list
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/ecommerce-product-list-table-list.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, checkbox
- Installs to: `@/components/blocks/ecommerce/product-list/table-list`

## About this block

Table List renders a full product catalog as a bordered data table inside a
card. A sticky header row holds a select-all checkbox followed by sortable
column headers for Category, Price, Rating, and Stock, each with a toggle
arrow. Below it every product row shows a thumbnail with a SKU label, a
category badge, the current price alongside a struck-through original price,
a star rating with review count, and a stock count that turns orange when
units are low and red when they drop below twenty. The last cell holds a Buy
button and a wishlist icon for each row.

All product data is declared in a single array, so you can add, remove, or
reorder rows without touching the table structure. The sort logic, the
select state, and the low-stock thresholds are self-contained and can be
adjusted independently of the column layout.

## When to use

This layout fits situations where buyers or internal teams need to scan and
compare many items at once rather than browse one card at a time. For a
product analytics SaaS it works well on an inventory overview screen, a
top-sellers report, or any admin surface where operators need to act on
multiple rows, sort by a metric, and spot low-stock items at a glance. It
outperforms a card grid when the columns carry equal weight and the reader
is likely to sort or filter before clicking through.

A natural flow around it on an Ecommerce page:

**Before**

- [Category Filters](https://www.shadcn-ui-blocks.com/blocks/ecommerce/category-filters) to let visitors
  narrow the catalog before the table renders
- [Category Preview](https://www.shadcn-ui-blocks.com/blocks/ecommerce/category-preview) as a visual entry
  point that hands off to this denser view

**After**

- [Customer Reviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-customer-reviews) to back
  up the rating column with social proof
- [Trust Guarantee](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-trust-guarantee) to reassure
  buyers after they have compared prices

## What you can display

The table works for any product set where multiple numeric attributes matter
to the buyer. A few concrete ways to use it:

- **Live inventory tracking.** Swap in real stock numbers so operators see
  red and orange alerts the moment a SKU runs low.
- **Sales performance overview.** Replace the Buy button with a revenue or
  conversion figure to turn the block into a read-only analytics table.
- **Competitive price comparison.** Keep the struck-through original price
  visible to show discount depth across the full catalog at once.

> Tip: keep the row count to ten or fewer in the initial render and add
> pagination below the table so the page does not scroll endlessly on
> mobile.

## More in Ecommerce Product List

- [Compact List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/compact-list)
- [Comparison List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/comparison-list)
- [Featured List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/featured-list)
- [Filter List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/filter-list)
- [Gallery List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/gallery-list)
- [Grid List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/grid-list)
- [Masonry List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/masonry-list)
- [Timeline List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-list/timeline-list)
