1.0.1 • Published 5 years ago
@ofekashery/vercel-icons v1.0.1
Vercel Icons
React icon components based on Vercel Design
Install
$ npm install @ofekashery/vercel-icons
Usage
import React from 'react';
import { GitHub } from '@ofekashery/vercel-icons';
const App = () => {
return <GitHub />
};
export default App;
Icons can be configured with color
, size
and any SVG props:
<GitHub color="red" size={36} />
<GitHub color="blue" strokeWidth={2} />
You can also include the whole icon pack:
import React from 'react';
import * as Icon from '@ofekashery/vercel-icons';
const App = () => {
return <Icon.GitHub />
};
export default App;