0.49.0 • Published 2 years ago

xyz-icon-set-react v0.49.0

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

XYZ Icon Set for React

Official React components package for icons from XYZ Icon Set.

List of icons available at XYZ Icon Set Website

Usage

Installation with NPM

npm install xyz-icon-set-react

Importing icon from a package

Note: Examples are shown with ES6 syntax

You can import icons selectively by its name with suffix "Icon" (to prevent variable name collisions and misuse of keywords in cases such as return or copy icons).

import { PaperPlaneIcon } from 'xyz-icon-set-react';

Icon Component Reference

const App = () => (
    <PaperPlaneIcon />
)

Themes

Importing PaperPlaneIcon will import regular version of the icon. To import thin variant of the icon, import PaperPlaneThinIcon instead.

Properties

fillOpacity

Opacity of the transparent fill inside of the icon. Accepts values between 0 and 1. It is not recommended to use higher values than 0.5 as it could break the legibility and recognizability of the icon.

Default value: 0

<React.Fragment>
    <PaperPlaneIcon /> {/* fillOpacity defaults to 0 */}
    <PaperPlaneIcon fillOpacity={0.25} />
    <PaperPlaneIcon fillOpacity={0.5} />
</React.Fragment>

License

XYZ Icon Set is licensed under the MIT License.

Authors

Ondřej Bárta · website · twitter

0.48.0

2 years ago

0.49.0

2 years ago

0.46.1

2 years ago

0.47.0

2 years ago

0.43.0

2 years ago

0.46.0

2 years ago

0.44.0

2 years ago

0.45.0

2 years ago

0.42.0

3 years ago

0.42.1

3 years ago

0.41.6

3 years ago

0.41.5

4 years ago

0.41.4

4 years ago

0.41.3

4 years ago

0.41.2

4 years ago

0.41.1

5 years ago

0.41.0

5 years ago

0.40.0

5 years ago

0.39.0

5 years ago

0.38.0

5 years ago

0.37.0

5 years ago

0.36.0

6 years ago

0.35.0

6 years ago

0.34.1

6 years ago

0.34.0

6 years ago

0.26.0

6 years ago

0.25.0

6 years ago

0.23.0

6 years ago

0.22.0

6 years ago

0.21.0

6 years ago

0.20.0

6 years ago

0.19.0

6 years ago

0.18.0

6 years ago

0.17.0

6 years ago

0.16.0

6 years ago

0.15.0

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.0

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.6.0

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago