{"repo":"Shopify/discount-app-components","free":true,"listed":false,"github":"https://github.com/Shopify/discount-app-components","clone":"git clone https://github.com/Shopify/discount-app-components.git","description":"A library of discounts-focused React components to help in building Shopify apps.","language":"TypeScript","stars":87,"topics":["component-library","discounts","react","shopify-apps","typescript"],"license":"MIT","category":"ui-components","readme_excerpt":"discount-app-components @shopify/discount-app-components provides a set of stateless discount components to help 3p app developers create discounts apps. Deprecation Notice: @shopify/discount-app-components 🚨 This package is deprecated. Please use Polaris instead. We're officially deprecating the @shopify/discount-app-components package, as it hasn't been actively maintained or supported for an extended period. This deprecation helps reduce maintenance overhead for our team and directs developers toward our current recommended solutions. Recommended Alternatives 1. Polaris Components : For general UI components, please use Polaris which offers a comprehensive set of maintained, accessible components. 2. Admin UI Extensions : For building discount apps specifically, we strongly recommend using Admin UI Extensions, which provide a more integrated, future-proof approach to building discount apps. This change aligns with our broader strategy of consolidating component libraries and providing extension-based approaches for app development. App development For more information about creating apps for the Shopify App Store, see the app development documentation. --- Using the repo Installation Run the following command using npm: If you prefer Yarn, use the following command instead: 🛑 The project has peerDependencies of @shopify/app-bridge , and @shopify/polaris which must also be installed in your app. Usage 1. Import the CSS for this repo and Polaris directly into your project ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Shopify","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Shopify/discount-app-components/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}