Phosphor is a flexible icon family for interfaces, diagrams, presentations, whatever, really. We designed the icon library we always wanted to use. Easy to pick up and plug in. Truly consistent in style and scale. Flexible to multiple sizes and weights. Reserved enough to be multi-purpose, but a little quirky, too. Simply import the icons you need, and add them anywhere in your render method. Phosphor supports tree-shaking, so your bundle only includes code for the icons you use. Icon components accept all props that you can pass to a normal SVG element, including inline style objects, onClick handlers, and more. Phosphor takes advantage of React Context to make applying a default style to all icons simple. Create an IconContext.Provider at the root of the app (or anywhere above the icons in the tree) and pass in a configuration object with props to be applied by default to all icons.

Features

  • Icon stroke/fill color
  • Can be any CSS color string
  • You may create multiple Contexts for styling icons differently in separate regions of an application
  • Components can accept arbitrary SVG elements as children, so long as they are valid children of the <svg> element
  • You may wish to import all icons at once for use in your project
  • Phosphor is a flexible icon family for interfaces

Project Samples

Project Activity

See All Activity >

Categories

Icon Sets

License

MIT License

Follow phosphor-react

phosphor-react Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of phosphor-react!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Icon Sets

Registered

2023-02-10