{"repo":"pixijs/pixi-react","free":true,"listed":false,"github":"https://github.com/pixijs/pixi-react","clone":"git clone https://github.com/pixijs/pixi-react.git","description":"Write PIXI apps using React declarative style","language":"TypeScript","stars":2878,"topics":["react","pixi","renderer","react-fiber"],"license":"MIT","category":"ui-components","readme_excerpt":"@pixi/react Simply the best way to write PixiJS applications in React Write PixiJS applications using React declarative style 👌 @pixi/react is an open-source, production-ready library to render high performant PixiJS applications in React. Features - React v19 support - PixiJS v8 support Getting Started Quick Start If you want to start a new React project from scratch then we recommend Create React App, but @pixi/react should work with any React application (Remix, Next.js, etc). To add @pixi/react to an existing React application, just install the dependencies: Install Dependencies Pixie React Usage Docs extend One of the most important concepts to understand with v8 is extend . Normally @pixi/react would have to import all pf Pixi.js to be able to provide the full library as JSX components. Instead, we use an internal catalogue of components populated by the extend API. This allows you to define exactly which parts of Pixi.js you want to import, keeping your bundle sizes small. To allow @pixi/react to use a Pixi.js component, pass it to the extend API: [!CAUTION] Attempting to use components that haven't been passed to the extend API will result in errors . Components The component is used to wrap your @pixi/react app. The component can take all props that can be set on PIXI.Application . Example Usage defaultTextStyle defaultTextStyle is a convenience property. Whatever is passed will automatically be assigned to Pixi.js's TextStyle.defaultTextStyle . [!NOTE] This propert","default_branch":null,"files":null,"tree":[],"storefront":"/r/pixijs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pixijs/pixi-react/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."}