1.18.6 • Published 16 days ago

@bigbinary/neeto-icons v1.18.6

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

neetoIcons

The neetoIcons and neetoIconsRN library are a collection of SVG React component icons that drives the experience in the neeto products built at BigBinary.

Contents

Installation

Web:

yarn add @bigbinary/neeto-icons

React Native:

yarn add @bigbinary/neeto-icons-rn

Instructions for development

Check the Frontend package development guide for step-by-step instructions to develop the frontend package.

Usage

Web:

import { Clock } from "@bigbinary/neeto-icons";

React Native:

import { Clock } from "@bigbinary/neeto-icons-rn";

Anywhere in your React file

<Clock color="#1e1e20" size={24} />

Product logos

import { Neeto } from "@bigbinary/neeto-icons/logos";

App icons

import { NeetoSocial } from "@bigbinary/neeto-icons/app-icons";

Misc icons

import { Google } from "@bigbinary/neeto-icons/misc";

Props

NameTypeDefaultDescription
colorstringcurrentColorCSS color value for the icon.
sizestring, number24Value supplied to height and width attributes of SVG element.
classNamestringClasses supplied to the SVG element.

Typeface logos

import { Neeto } from "@bigbinary/neeto-icons/typeface-logos";

Anywhere in your React file

<Neeto height={24} width={48} />
NameTypeDefaultDescription
heightstring, number20Value supplied to height attribute of SVG element.
widthstring, number100%Value supplied to width attribute of SVG element.
classNamestringClasses supplied to the SVG element.

How it works

  • We use a custom rollup plugin (which can be found in build/index.mjs) to take all the .svg files from the source folder and convert them to React components that render the respective SVG icon.
  • The plugin accepts a configuration object as an argument which can contain the following keys:

    NameTypeDescription
    optionsobjectOptions passed to the transform function from react-svgr. (See full opions list)
    additionTransformationsfunctionAdditional string transformation that can be applied to the generated React code.
    sourcestringPath to the folder where the SVG files are located
    destinationstringPath to the folder to place the generated react code
  • For each icon, a React icon file will be generated in generate/icons folder.

  • From there babel through rollup takes the wheel and generates the bundles.

Instructions for Publishing

Consult the building and releasing packages guide for details on how to publish.

1.18.6

16 days ago

1.18.5

22 days ago

1.18.4

1 month ago

1.18.3

1 month ago

1.18.2

2 months ago

1.18.1

2 months ago

1.18.0

2 months ago

1.17.14

3 months ago

1.17.13

3 months ago

1.17.12

3 months ago

1.17.11

4 months ago

1.17.10

4 months ago

1.17.9

4 months ago

1.17.8

4 months ago

1.17.7

5 months ago

1.14.0

9 months ago

1.15.0

8 months ago

1.12.3

10 months ago

1.16.0

8 months ago

1.13.0

10 months ago

1.17.2

8 months ago

1.17.1

8 months ago

1.17.0

8 months ago

1.17.6

7 months ago

1.17.5

7 months ago

1.17.4

8 months ago

1.17.3

8 months ago

1.12.2

11 months ago

1.12.0

11 months ago

1.11.0

1 year ago

1.9.23

1 year ago

1.9.22

1 year ago

1.9.21

1 year ago

1.9.20

1 year ago

1.9.19

1 year ago

1.9.18

1 year ago

1.9.17

1 year ago

1.9.16

1 year ago

1.9.15

1 year ago

1.9.14

1 year ago

1.9.13

1 year ago

1.9.12

1 year ago

1.9.11

1 year ago

1.10.0

1 year ago

1.9.10

1 year ago

1.9.9

1 year ago

1.9.8

1 year ago

1.9.7

1 year ago

1.9.6

1 year ago

1.9.5

1 year ago

1.9.4

1 year ago

1.9.3

1 year ago

1.9.2

1 year ago

1.9.1

1 year ago

1.9.0

1 year ago

1.8.47

1 year ago

1.8.48

1 year ago

1.8.40

2 years ago

1.8.41

1 year ago

1.8.42

1 year ago

1.8.43

1 year ago

1.8.44

1 year ago

1.8.45

1 year ago

1.8.46

1 year ago

1.8.38

2 years ago

1.8.39

2 years ago

1.8.36

2 years ago

1.8.37

2 years ago

1.8.34

2 years ago

1.8.35

2 years ago

1.8.26

2 years ago

1.8.27

2 years ago

1.8.28

2 years ago

1.8.29

2 years ago

1.8.30

2 years ago

1.8.31

2 years ago

1.8.32

2 years ago

1.8.33

2 years ago

1.8.24

2 years ago

1.8.25

2 years ago

1.8.20

2 years ago

1.8.21

2 years ago

1.8.22

2 years ago

1.8.23

2 years ago

1.8.14

2 years ago

1.8.15

2 years ago

1.8.17

2 years ago

1.8.18

2 years ago

1.8.19

2 years ago

1.8.2

3 years ago

1.8.9

2 years ago

1.8.10

2 years ago

1.8.11

2 years ago

1.8.12

2 years ago

1.8.6

2 years ago

1.8.13

2 years ago

1.8.5

2 years ago

1.8.4

2 years ago

1.8.3

2 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.7.9

3 years ago

1.7.3

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.8

3 years ago

1.7.7

3 years ago

1.7.6

3 years ago

1.7.5

3 years ago

1.7.4

3 years ago

1.7.0

3 years ago

1.6.5

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.4.0

3 years ago

1.2.2

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.0.11

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago