Skip to content

Product Feed

Browsable product grid with search and favorites.

Open the exact pattern in the real BeeUI Web Showcase. This is a Web runtime preview, not native-device evidence.

Each named state is directly addressable:

The same source is available at apps/showcase/patterns/commerce-social/screens/product-feed-screen.tsx.

Principal public BeeUI exports used by this screen: Badge, Box, Button, Card, Chip, ChipGroup, HStack, SearchInput, Skeleton, Text, VStack.

The pattern is a composition recipe rather than a new framework layer. Follow the linked component contracts for state, provider, platform and accessibility details.

The screen is controlled through ProductFeedScreenProps. User intent crosses the application boundary through onFavorite, onProductSelect, onSearch; fetching, routing, persistence and side effects remain application-owned.

// from apps/showcase/patterns/commerce-social/fixtures/commerce-fixtures.ts
export type Product = {
id: string;
name: string;
subtitle: string;
category: string;
price: number;
originalPrice?: number;
rating: number;
reviewCount: number;
imageUri: string;
badge?: string;
description: string;
availability: string;
shipping: string;
variants: string[];
};
export type ProductFeedScreenProps = {
loading?: boolean;
onFavorite?: (product: Product) => void;
onProductSelect?: (product: Product) => void;
onSearch?: (query: string) => void;
};

Common product states such as loading, success, empty, error, permission-like recovery, filtering/search/selection or pagination are represented only where the actual screen source exposes them. The pattern docs do not invent backend states that the fixture does not render.

Read from the screen file and the 6 pattern-local files in its runtime import closure, direct and transitive: commerce-social/screens/product-feed-screen.tsx, commerce-social/components/price-row.tsx, commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx, commerce-social/components/rating-summary.tsx, commerce-social/components/screen-shell.tsx, commerce-social/fixtures/commerce-fixtures.ts. Every fact below is scoped to those files and to nothing else.

  • BeeUI layout primitives rendered: Box (commerce-social/components/product-image.tsx, commerce-social/components/screen-shell.tsx, commerce-social/screens/product-feed-screen.tsx), HStack (commerce-social/components/price-row.tsx, commerce-social/components/rating-summary.tsx; commerce-social/screens/product-feed-screen.tsx, only when loading is false), Screen (commerce-social/components/screen-shell.tsx), VStack (commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx, commerce-social/components/screen-shell.tsx, commerce-social/screens/product-feed-screen.tsx).
  • Scroll ownership: ScrollView (commerce-social/components/screen-shell.tsx).
  • Horizontal scrolling: no horizontal scroll container in commerce-social/screens/product-feed-screen.tsx, commerce-social/components/price-row.tsx, commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx, commerce-social/components/rating-summary.tsx, commerce-social/components/screen-shell.tsx, commerce-social/fixtures/commerce-fixtures.ts.
  • Width constraint: max-w-2xl (commerce-social/components/screen-shell.tsx), max-w-3xl (commerce-social/components/screen-shell.tsx).
  • Breakpoint-prefixed utility classes: none in commerce-social/screens/product-feed-screen.tsx, commerce-social/components/price-row.tsx, commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx, commerce-social/components/rating-summary.tsx, commerce-social/components/screen-shell.tsx, commerce-social/fixtures/commerce-fixtures.ts.
  • Platform-prefixed utility classes: web:px-6 (commerce-social/components/screen-shell.tsx).
  • Platform branching: no Platform.OS or Platform.select call in commerce-social/screens/product-feed-screen.tsx, commerce-social/components/price-row.tsx, commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx, commerce-social/components/rating-summary.tsx, commerce-social/components/screen-shell.tsx, commerce-social/fixtures/commerce-fixtures.ts.
  • Viewport measurement: no useWindowDimensions, Dimensions.get or breakpoint hook in commerce-social/screens/product-feed-screen.tsx, commerce-social/components/price-row.tsx, commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx, commerce-social/components/rating-summary.tsx, commerce-social/components/screen-shell.tsx, commerce-social/fixtures/commerce-fixtures.ts.

BeeUI’s mobile-first responsive contract is the framework-level document; the list above states only what this screen’s own files declare, and says nothing about how the composed components behave internally.

Read from the screen file and the 6 pattern-local files in its runtime import closure, direct and transitive: commerce-social/screens/product-feed-screen.tsx, commerce-social/components/price-row.tsx, commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx, commerce-social/components/rating-summary.tsx, commerce-social/components/screen-shell.tsx, commerce-social/fixtures/commerce-fixtures.ts. Every fact below is scoped to those files and to nothing else.

  • Roles this screen sets itself: button (commerce-social/components/product-card.tsx).
  • Accessibility states and properties it sets itself: accessibilityIgnoresInvertColors (commerce-social/components/product-image.tsx), accessibilityLabel (commerce-social/screens/product-feed-screen.tsx, commerce-social/components/product-card.tsx, commerce-social/components/product-image.tsx), accessible (commerce-social/components/product-image.tsx).
  • Semantics inherited from composed BeeUI families: Badge, Box, Button, Card, Chip, ChipGroup, HStack, Screen, SearchInput, Skeleton (commerce-social/screens/product-feed-screen.tsx, only when loading is true), Text, VStack — each family’s own page derives the roles and states it sets; they are not restated here.

Touch-target size, focus order, announcements, RTL, large-text and reduced-motion behavior are not derived from this source — see the Accessibility guide for what is and is not covered by evidence. A Web preview does not substitute for VoiceOver/TalkBack runtime evidence.

Intentionally excluded: Catalog fetching, search execution, and favorite persistence.

BeeUI does not take ownership of app routing, authentication/business rules, APIs/data fetching, persistence, form/state frameworks, chart frameworks or backend logic merely because a pattern visually composes those product concepts.

ProductFeedScreen is Showcase source you copy, not a package export: it is not shipped from any @beemvp/beeui-* package, and the Registry CLI (pnpm beeui list / pnpm beeui add) does not carry pattern screens. Copy apps/showcase/patterns/commerce-social/screens/product-feed-screen.tsx into your app and adapt it directly. Only the individual BeeUI components it composes (linked above) are available for source ownership through the repository-local Registry workflow; see CLI & source ownership for both the published npx @beemvp/beeui-cli@next path and the repository-local checkout path.