About
E-commerce product grid with sale badges, like and add-to-cart actions by Shadcn Studio.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Product List 01 to your project and fits it to your theme.
Code
How Product List 01 is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ProductList from '@/components/ui/shadcn-studio-product-list-01'
const productList = [
{
image: 'https://cdn.21st.dev/assets/mirror/28/28e27275a891ec6d60870046a3c2031a521b4ca4c02ea8bdaf2bb29b5c7c713d.png',
imgAlt: 'Samsung Galaxy Watch 6',
name: 'Samsung Galaxy Watch 6 Classic',
price: 129,
badges: ['Watch', 'Samsung']
},
{
image: 'https://cdn.21st.dev/assets/mirror/66/66e51b8f85dce0b3a0cd625656d8c399a33f3d6cae390c97fa555a2ee7aaf9a9.png',
imgAlt: 'Samsung Galaxy Watch 7',
name: 'Samsung Galaxy Watch 7',
price: 229,
salePrice: 139,
badges: ['Watch', 'Samsung']
},
{
image: 'https://cdn.21st.dev/assets/mirror/7c/7ce0a4b0267c8331f32d0ea11b3ecc2ae76ecf1baf2ca23ecc944f4680307e93.png',
imgAlt: 'Samsung Galaxy Watch Ultra',
name: 'Samsung Galaxy Watch Ultra',
price: 119,
badges: ['Watch', 'Samsung']
},
{
image: 'https://cdn.21st.dev/assets/mirror/a1/a158af6bf93a692adea8b6b3ab681682e9b4d56c1255c37bfeac22a5dba154d8.png',
imgAlt: 'Samsung Galaxy Watch 7',
name: 'Samsung Galaxy Watch 7',
price: 129,
badges: ['Watch', 'Samsung']
},
{
image: 'https://cdn.21st.dev/assets/mirror/25/25a4b2aad7c9ae093e666a41a1746b39cc3c971928b94439e9232a34d9b63f52.png',
imgAlt: 'Spigen Rugged Armor Pro',
name: 'Spigen Rugged Armor Pro',
price: 239,
badges: ['Watch', 'Spigen']
},
{
image: 'https://cdn.21st.dev/assets/mirror/00/003b738e44342aadd97c5cdbd931de8ace233356c69ca737966d26f689733155.png',
imgAlt: 'Mosmoc Rugged No Gap',
name: 'Mosmoc Rugged No Gap',
price: 149,
badges: ['Watch', 'Samsung']
}
]
const ProductListPage = () => {
return <ProductList products={productList} />
}
export default ProductListPage















