@fortawesome/free-brands-svg-icons#faReact JavaScript Examples
The following examples show how to use
@fortawesome/free-brands-svg-icons#faReact.
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: Footer.js From viade_en1b with MIT License | 6 votes |
Footer = () => {
return (
<div data-testid="footer" id="footer">
<div className="footerElement">
<b data-testid="footer-dev"><FormattedMessage id="DevTeam"/> </b> Viade_en1b{" "}
</div>
<div className="footerElement">
<a
data-testid="footer-github"
href="https://github.com/Arquisoft/viade_en1b"
target="_blank"
rel="noopener noreferrer"
>
<FontAwesomeIcon id="githubIcon" icon={faGithub} />
</a>
</div>
<div className="footerElement">
<a
data-testid="footer-react"
href="https://lamasumas.github.io/Solid/"
target="_blank"
rel="noopener noreferrer"
>
<FontAwesomeIcon id="githubIcon" icon={faBook} />
</a>
</div>
<div className="footerElement">
<a
data-testid="footer-react"
href="https://reactjs.org/"
target="_blank"
rel="noopener noreferrer"
>
<FontAwesomeIcon id="githubIcon" icon={faReact} />
</a>
</div>
</div>
);
}
Example #2
Source File: fontawesome.js From make-react-apps-site with MIT License | 6 votes |
library.add( faReact, faAtom, faFieldHockey, faTreasureChest, faFilm, faCameraHome, faWatch, faPlus, faEquals, faArrowRight, faCheck )
Example #3
Source File: Widgets.js From volt-react-dashboard with MIT License | 5 votes |
ProgressTrackWidget = () => {
const Progress = (props) => {
const { title, percentage, icon, color, last = false } = props;
const extraClassName = last ? "" : "mb-2";
return (
<Row className={`align-items-center ${extraClassName}`}>
<Col xs="auto">
<span className={`icon icon-md text-${color}`}>
<FontAwesomeIcon icon={icon} className="me-1" />
</span>
</Col>
<Col>
<div className="progress-wrapper">
<div className="progress-info">
<h6 className="mb-0">{title}</h6>
<small className="fw-bold text-dark">
<span>{percentage} %</span>
</small>
</div>
<ProgressBar variant={color} now={percentage} min={0} max={100} />
</div>
</Col>
</Row>
);
};
return (
<Card border="light" className="shadow-sm">
<Card.Header className="border-bottom border-light">
<h5 className="mb-0">Progress track</h5>
</Card.Header>
<Card.Body>
<Progress title="Rocket - SaaS Template" color="purple" icon={faBootstrap} percentage={34} />
<Progress title="Pixel - Design System" color="danger" icon={faAngular} percentage={60} />
<Progress title="Spaces - Listings Template" color="tertiary" icon={faVuejs} percentage={45} />
<Progress title="Stellar - Dashboard" color="info" icon={faReact} percentage={35} />
<Progress last title="Volt - Dashboard" color="purple" icon={faBootstrap} percentage={34} />
</Card.Body>
</Card>
);
}