STORE WINDOW COMPONENT

Display individual store information with preview images and product counts.

PROPS

PropTypeDescription
namestringStore name
descriptionstringStore description
productCountnumberNumber of products in store
previewImagesstring[]Product preview images
onClick() => voidClick handler

Variants

Default

Official Band Merch

Exclusive merchandise from the official band store. Limited edition items and tour exclusives.

24 products

Featured Store

FEATURED

Artist Collective

Curated collection from multiple artists. Support independent creators.

156 products

Compact Layout

Quick Shop

Limited items

8 products

Loading State

USAGE EXAMPLES

BASIC IMPLEMENTATION

1import { StoreWindow } from '@/components/fanbace/store';
2
3export default function StoreExample({ store }: Props) {
4 return (
5 <StoreCard
6 name={store.name}
7 description={store.description}
8 productCount={store.productCount}
9 previewImages={store.products.slice(0, 4).map(p => p.image)}
10 onClick={() => router.push(`/stores/${store.id}`)}
11 />
12 );
13}