@hopper-ui/icons-react16
v2.4.0
Published
The icons package that targets React 16.
Downloads
97
Keywords
Readme
@hopper-ui/icons-react16
A set of icons handcrafted by Workleap. This package is meant to be temporary, to allow teams that are still using React 16 to be able to have access to the shared icons.
This package assumes that you are importing the CSS tokens from Hopper in your application. If you are not, icon colors will not be applied.
Installation
Install packages
With pnpm
pnpm add @hopper-ui/icons-react16
With yarn
yarn add @hopper-ui/icons-react16
With npm
npm install @hopper-ui/icons-react16
Import Styles
/* in your root css */
@import "@hopper-ui/icons-react16/index.css";
https://wl-hopper.netlify.app/icons/react-icons/standalone-installation#import-styles
Start using icons
import { AddIcon } from "@hopper-ui/icons-react16";
export const App = () => (
<div>
<span>Hello World!</span>
<AddIcon size="sm" />
</div>
);
Available Icons
View the library.
🤝 Contributing
View the contributor's documentation.
License
Copyright © 2023, Workleap. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/workleap-license/blob/master/LICENSE.