Open-source and npm-published React icon library.
npm:
npm install @default-services/icons
yarn:
yarn add @default-services/icons
The Default icon library includes several basic icons to help get you started, allowing you to pass props such as; onClick
, className
, and most others to assist with styles and event handling.
import React from 'react';
import { CheckIcon } from '@default-services/icons/solid';
const MyComponent = (props) => {
return (
<div>
<CheckIcon />
</div>
);
};
Tip: Notice in the example above, the icon is pulled from its respective file, "solid".
Learn more, with the Default documentation.
Default component library utilizes technologies such as Babel to ensure all code is cross-browser compatible, and supports at least the following browsers:
IE / Edge |
Firefox |
Chrome |
Safari |
iOS Safari |
Samsung |
Opera |
---|---|---|---|---|---|---|
IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
Bugs reported on the project's issues page will be exterminated as quickly as possible, be sure to include steps to reproduce so they can be spotted easily.
MIT Β© Default