--- title: "Cart" slug: cart category: component type: overview version: 20.0.0 tokens: 185 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-cart.txt --- # Cart ## Props | Property | Type | Required | Default | Description | |---|---|---|---|---| | `i18n` | `Partial` | No | undefined | Internal translations override. | | `locale` | `'de' | 'en' | 'es' | 'fr' | 'it' | 'nl' | 'pl' | 'pt'` | No | undefined | The locale used for the translation of the internal elements. | | `onOpenChange` | `(detail: CartOpenChangeDetail) => void` | No | undefined | Callback fired when the cart open state changes (on Mobile only). | ## Examples - Default - Empty - Full - Mobile ## Documentation pages - [Documentation](./react-components-cart--documentation.txt) - [Technical Information](./react-components-cart--technical-information.txt) - [Examples](./react-components-cart--examples.txt)