--- post_title: Cart and Checkout - Slot and fill menu_title: Slot and Fill tags: reference --- ## The problem You added custom data to the [Store API](https://github.com/woocommerce/woocommerce/blob/1675c63bba94c59703f57c7ef06e7deff8fd6bba/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/rest-api/extend-rest-api-add-data.md). You changed several strings using [Checkout filters](./category/cart-and-checkout-blocks/available-filters/). Now you want to render your own components in specific places in the Cart and Checkout. ## Solution Slot and Fill are a pair of components that add the possibility to render your own HTML in pre-defined places in the Cart and Checkout. Your component will get access to contextual data and will get re-rendered when needed. A _Slot_ is a place in the Cart and Checkout that can render an indefinite number of external components. A _Fill_ is the component provided by third-party developers to render inside a _Slot_. Slot and Fill use WordPress' API, and you can learn more about how they work in [the Slot and Fill documentation.](https://github.com/WordPress/gutenberg/tree/trunk/packages/components/src/slot-fill). ## Basic Usage `ExperimentalOrderMeta` is a fill that will render in a slot below the Order summary section in the Cart and Checkout blocks. The `ExperimentalOrderMeta` will automatically pass props to its top level child: - `cart` which contains cart data - `extensions` which contains data registered with `ExtendSchema::class` in `wc/store/cart` endpoint - `context`, equal to the name of the Block in which the fill is rendered: `woocommerce/cart` or `woocommerce/checkout` ```jsx const { registerPlugin } = wp.plugins; const { ExperimentalOrderMeta } = wc.blocksCheckout; const MyCustomComponent = ( { cart, extensions } ) => { return