Patterns · Marketing
ProductGrid
Since v3.1.0
Product cards in a grid; each card is one link with the product's accent. Server component.
import { ProductGrid } from '@nexub/marketing';Examples
Default
Divisions
`division` tints a card with one of the five division colours. Load `@nexub/themes/divisions`.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| header | React.ReactNode | — | A SectionHeader, usually. |
| ProductCard namerequired | string | — | Product name, the card's link text. |
| ProductCard descriptionrequired | React.ReactNode | — | One line on what it does. |
| ProductCard hrefrequired | string | — | The product page. |
| ProductCard icon | React.ReactNode | — | The product mark. |
| ProductCard accent | 'os' | 'commerce' | 'fintech' | 'intelligence' | 'autonomous' | 'leap' | 'bookub' | 'payub' | 'founderub' | 'people' | 'contracts' | 'forms' | 'money' | 'capital' | 'mind' | 'go' | 'command-hub' | 'runner' | 'book-hub' | 'payhub' | 'founder-hub' | — | Coloured top edge and tint in marketing mode. Keys beyond the four original apps need @nexub/themes/products or @nexub/themes/divisions. |
| ProductCard division | 'os' | 'commerce' | 'fintech' | 'intelligence' | 'autonomous' | — | The card's division: sets data-division and, without accent, tints the card. |
| division | 'os' | 'commerce' | 'fintech' | 'intelligence' | 'autonomous' | — | Sets data-division on the grid. |
| ProductCard linkLabel | string | 'Learn more' | The visual link cue. |
On iOS & Android
Web only
ProductGrid has no @nexub/react-native twin. On phones, follow the platform pattern instead, or compose it from the native components listed on the React Native page.