A flexible icon family for React
The document discusses the transition from the phosphor-react package to @phosphor-icons/react, highlighting improved performance and a smaller bundle size. It emphasizes the drop-in replacement ease due to unchanged APIs. The legacy package will continue to receive maintenance but won’t be updated with new icons. The installation process, usage tips, props information, and context usage in styling icons are also covered.
To install the @phosphor-icons/react package, use the following steps:
npm install @phosphor-icons/react
The document introduces the transition from phosphor-react to @phosphor-icons/react, highlighting performance improvements and a smaller bundle size. It emphasizes seamless replacement due to unchanged APIs and offers insights into props usage, context utilization for styling icons, and the package’s composability. Overall, the new package presents a more efficient and user-friendly icon solution for various applications.