We built the system from the ground up around those patterns. We designed every component with the states a real store needs, such as sale prices, sold out sizes and empty carts. We set up tokens for colour, type, radius and borders so one library could carry several brands. The result was faster, more consistent storefronts, with assets ready to hand to developers.