react-icons/fi#FiUserPlus JavaScript Examples
The following examples show how to use
react-icons/fi#FiUserPlus.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Recommendations.js From winstall with GNU General Public License v3.0 | 5 votes |
Recommendations = ({ packs }) => {
return (
<div className="homeBlock">
<div className="box">
<h2 className="blockHeader">Featured Packs</h2>
<Link href="/packs">
<a className="button small">
<FiPackage />
View All
</a>
</Link>
</div>
<h3 className="blockSubtitle">
Just got a new Windows device? Start with our favourites. Click the +
sign to include an app on your install script.
</h3>
<div className={styles.recommendations}>
<PackList id="A6JzO22Y1" title="Work From Home" packs={packs}>
<FiHome />
</PackList>
<PackList id="z3zuf1vVD" title="Web Browsers" packs={packs}>
<FiGlobe />
</PackList>
<PackList id="ur23Tk6Sf" title="Essential Tools" packs={packs}>
<FiStar />
</PackList>
<PackList id="qO_m22F6k" title="Entertainment" packs={packs}>
<FiMusic />
</PackList>
<PackList id="Jtght2FO5" title="Gaming" packs={packs}>
<FiCrosshair />
</PackList>
<PackList id="3glB-CGXA" title="Developers" packs={packs}>
<FiCode />
</PackList>
<PackList id="NYWPVq9ct" title="Social Media" packs={packs}>
<FiUserPlus />
</PackList>
<PackList id="yphy7XItI" title="School" packs={packs}>
<FiBookOpen />
</PackList>
</div>
</div>
);
}
Example #2
Source File: Info.js From js-code with ISC License | 5 votes |
UserInfo = () => {
const { githubUser } = React.useContext(GithubContext);
const { public_repos, followers, following, public_gists } = githubUser;
const items = [
{
id: 1,
icon: <GoRepo className='icon'></GoRepo>,
label: 'repos',
value: public_repos,
color: 'pink',
},
{
id: 2,
icon: <FiUsers className='icon'></FiUsers>,
label: 'followers',
value: followers,
color: 'green',
},
{
id: 3,
icon: <FiUserPlus className='icon'></FiUserPlus>,
label: 'following',
value: following,
color: 'purple',
},
{
id: 4,
icon: <GoGist className='icon'></GoGist>,
label: 'gists',
value: public_gists,
color: 'yellow',
},
];
return (
<section className='section'>
<Wrapper className='section-center'>
{items.map((item) => {
return <Item key={item.id} {...item}></Item>;
})}
</Wrapper>
</section>
);
}