Duicons Icon Library for React in Production.
The library is currently under development and undergoing testing, but if you wish to try it out in your project with the limited icons available at the moment.
npm i duicons
import { AddOutline } from "duicons";
export default function IconExample() {
return <AddOutline />;
}
You can configure Icons with inline props:
<AddOutline color="#eafe23" size={40} />
Props | Type | Default | Note |
---|---|---|---|
size |
string or number |
32px |
size={32} or size="32" |
color |
string |
#000 |
css color |