React Property
react-property
HTML and SVG DOM property configs used by React.
Icons
react-property
html
svg
dom
property
attribute
config
react
react-dom
Icons
Stars
4
Weekly
3.4M
Open issues
2
Bundle
~25 kB
Installation
npm install react-propertyCode example
import { Star } from "react-property";
export function Example() {
return <Star size={24} />;
}Pros & cons
Pros
- Actively maintained by remarkablemark
- 3.4M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 2 open issues on GitHub