npm.io
2.5.1 • Published 1 year ago

@hopper-ui/icons-react16

Licence
Apache-2.0
Version
2.5.1
Deps
0
Size
1.6 MB
Vulns
0
Weekly
0

@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.

License npm version

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/workleap/workleap-license/blob/master/LICENSE.