0.41.1 • Published 5 years ago

@polkadot/ui-identicon v0.41.1

Weekly downloads
70
License
Apache-2.0
Repository
-
Last release
5 years ago

@polkadot/ui-identicon

A generic identity icon that can render icons based on the theme, be it Substrate or Polkadot

Usage Examples

To install the component, do yarn add @polkadot/ui-identicon

Inside a React component, you can now render any account with the associated icon -

import Identicon from '@polkadot/ui-identicon';

...
render () {
  // address is an ss58-encoded address or publicKey (hex string or Uint8Array)
  const { address } = this.props;
  // size (optional) is a number, indicating the size (in pixels, 64 as default)
  const size = 32;
  // theme (optional), depicts the type of icon, one of
  // 'polkadot', 'substrate' (default), 'beachball' or 'jdenticon'
  const theme = 'polkadot';

  // standard className & style props are also available
  return (
    <Identicon
      value={address}
      size={size}
      theme={theme}
    />
  );
}
...
0.42.0-beta.18

5 years ago

0.42.0-beta.17

5 years ago

0.42.0-beta.16

5 years ago

0.42.0-beta.15

5 years ago

0.42.0-beta.14

5 years ago

0.42.0-beta.13

5 years ago

0.42.0-beta.12

5 years ago

0.42.0-beta.11

5 years ago

0.42.0-beta.10

5 years ago

0.42.0-beta.9

5 years ago

0.42.0-beta.8

5 years ago

0.42.0-beta.7

5 years ago

0.42.0-beta.6

5 years ago

0.42.0-beta.5

5 years ago

0.42.0-beta.4

5 years ago

0.42.0-beta.3

5 years ago

0.42.0-beta.2

5 years ago

0.42.0-beta.1

5 years ago

0.42.0-beta.0

5 years ago

0.41.1

5 years ago

0.41.0-beta.6

5 years ago

0.41.0-beta.5

5 years ago

0.41.0-beta.4

5 years ago

0.41.0-beta.3

5 years ago

0.41.0-beta.2

5 years ago

0.41.0-beta.1

5 years ago

0.41.0-beta.0

5 years ago

0.40.1

5 years ago

0.40.0-beta.4

5 years ago

0.40.0-beta.3

5 years ago

0.40.0-beta.2

5 years ago

0.40.0-beta.1

5 years ago

0.40.0-beta.0

5 years ago

0.39.1

5 years ago

0.39.0-beta.6

5 years ago

0.39.0-beta.5

6 years ago

0.39.0-beta.4

6 years ago

0.39.0-beta.3

6 years ago

0.39.0-beta.2

6 years ago

0.39.0-beta.1

6 years ago

0.39.0-beta.0

6 years ago

0.38.1

6 years ago

0.38.0-beta.8

6 years ago

0.38.0-beta.7

6 years ago

0.38.0-beta.6

6 years ago

0.38.0-beta.5

6 years ago

0.38.0-beta.4

6 years ago

0.38.0-beta.3

6 years ago

0.38.0-beta.2

6 years ago

0.38.0-beta.1

6 years ago

0.38.0-beta.0

6 years ago

0.37.1

6 years ago

0.37.0-beta.3

6 years ago

0.37.0-beta.2

6 years ago

0.37.0-beta.1

6 years ago

0.37.0-beta.0

6 years ago

0.36.1

6 years ago

0.35.1

6 years ago

0.35.0-beta.2

6 years ago

0.35.0-beta.0

6 years ago

0.34.1

6 years ago

0.34.0-beta.0

6 years ago

0.33.1

6 years ago

0.33.0-beta.2

6 years ago

0.33.0-beta.1

6 years ago

0.33.0-beta.0

6 years ago

0.32.1

6 years ago

0.32.0-beta.2

6 years ago

0.32.0-beta.1

6 years ago

0.32.0-beta.0

6 years ago

0.31.1

6 years ago

0.31.0-beta.0

6 years ago

0.30.1

6 years ago

0.30.0-beta.0

6 years ago

0.29.2

6 years ago

0.29.1

6 years ago

0.28.8

6 years ago

0.28.7

6 years ago

0.28.6

6 years ago

0.28.5

6 years ago

0.28.4

6 years ago

0.28.3

6 years ago

0.28.2

6 years ago

0.28.1

6 years ago

0.27.1

6 years ago

0.26.9

6 years ago

0.26.8

6 years ago

0.26.7

6 years ago

0.26.6

6 years ago

0.26.5

6 years ago

0.26.4

6 years ago

0.26.3

6 years ago

0.26.2

6 years ago

0.26.1

6 years ago

0.25.12

6 years ago

0.25.11

6 years ago

0.25.10

6 years ago

0.25.9

6 years ago

0.25.8

6 years ago

0.25.7

6 years ago

0.25.5

6 years ago

0.25.4

6 years ago

0.25.3

6 years ago

0.25.2

6 years ago

0.25.1

6 years ago

0.24.30

6 years ago

0.24.29

6 years ago

0.24.28

6 years ago

0.24.27

6 years ago

0.24.26

6 years ago

0.24.25

6 years ago

0.24.24

6 years ago

0.24.23

6 years ago

0.24.22

6 years ago

0.24.21

6 years ago

0.24.20

6 years ago

0.24.19

6 years ago

0.24.18

6 years ago

0.24.17

6 years ago

0.24.16

6 years ago

0.24.15

6 years ago

0.24.14

6 years ago

0.24.13

6 years ago

0.24.12

6 years ago

0.24.11

6 years ago

0.24.10

6 years ago

0.24.9

6 years ago

0.24.8

6 years ago

0.24.7

6 years ago

0.24.6

6 years ago

0.24.5

6 years ago

0.24.4

6 years ago

0.24.3

6 years ago

0.24.2

6 years ago

0.24.1

6 years ago

0.23.4

6 years ago

0.23.3

6 years ago

0.23.2

6 years ago

0.23.1

6 years ago

0.22.18

6 years ago

0.22.17

6 years ago

0.22.16

6 years ago

0.22.15

6 years ago

0.22.14

6 years ago

0.22.13

6 years ago

0.22.12

6 years ago

0.22.11

6 years ago

0.22.10

6 years ago

0.22.9

6 years ago

0.22.8

6 years ago

0.22.7

6 years ago

0.22.6

6 years ago

0.22.5

6 years ago

0.22.4

6 years ago

0.22.3

6 years ago

0.22.2

6 years ago

0.22.1

6 years ago

0.20.30

6 years ago

0.20.29

6 years ago

0.20.28

6 years ago

0.20.27

6 years ago

0.20.26

6 years ago

0.20.25

6 years ago

0.20.24

6 years ago

0.20.23

6 years ago

0.20.22

6 years ago

0.20.21

6 years ago

0.20.20

6 years ago

0.20.19

6 years ago

0.20.18

6 years ago

0.20.17

6 years ago

0.20.16

6 years ago

0.20.15

6 years ago

0.20.14

6 years ago

0.20.12

6 years ago

0.20.11

6 years ago

0.20.10

6 years ago

0.20.9

6 years ago

0.20.8

6 years ago

0.20.7

6 years ago

0.20.6

6 years ago

0.20.5

6 years ago

0.20.4

6 years ago

0.20.3

6 years ago

0.20.2

6 years ago

0.20.1

6 years ago

0.19.61

6 years ago

0.19.60

6 years ago

0.19.59

6 years ago

0.19.58

6 years ago

0.19.57

6 years ago

0.19.56

6 years ago

0.19.55

6 years ago

0.19.54

6 years ago

0.19.53

6 years ago

0.19.52

6 years ago

0.19.51

6 years ago

0.19.50

6 years ago

0.19.49

6 years ago

0.19.48

6 years ago

0.19.47

6 years ago

0.19.46

6 years ago

0.19.45

6 years ago

0.19.44

6 years ago

0.19.43

6 years ago

0.19.42

6 years ago

0.19.41

6 years ago

0.19.40

6 years ago

0.19.39

6 years ago

0.19.38

6 years ago

0.19.37

6 years ago

0.19.36

6 years ago

0.19.35

6 years ago

0.19.34

6 years ago

0.19.33

6 years ago

0.19.32

6 years ago

0.19.31

6 years ago

0.19.30

6 years ago

0.19.29

6 years ago

0.19.28

6 years ago

0.19.27

6 years ago

0.19.26

6 years ago

0.19.25

6 years ago

0.19.24

6 years ago

0.19.23

6 years ago

0.19.22

6 years ago

0.19.21

6 years ago

0.19.20

6 years ago

0.19.19

6 years ago

0.19.18

6 years ago

0.19.16

6 years ago

0.19.15

6 years ago

0.19.14

6 years ago

0.19.13

6 years ago

0.19.12

6 years ago

0.19.11

6 years ago

0.19.10

6 years ago

0.19.9

6 years ago

0.19.8

6 years ago

0.19.7

6 years ago

0.19.6

6 years ago

0.19.5

6 years ago

0.19.4

6 years ago

0.19.3

6 years ago

0.19.2

6 years ago

0.19.1

6 years ago

0.18.26

6 years ago

0.18.25

6 years ago

0.18.24

6 years ago

0.18.22

6 years ago

0.18.21

6 years ago

0.18.20

6 years ago

0.18.19

6 years ago

0.18.18

6 years ago

0.18.16

6 years ago

0.18.15

6 years ago

0.18.14

6 years ago

0.18.13

6 years ago

0.18.12

6 years ago

0.18.11

6 years ago

0.18.10

6 years ago

0.18.9

6 years ago

0.18.8

6 years ago

0.18.7

6 years ago

0.18.6

6 years ago

0.18.5

6 years ago

0.18.4

6 years ago

0.18.3

6 years ago

0.18.2

6 years ago

0.18.1

6 years ago

0.17.15

6 years ago

0.17.14

6 years ago

0.17.13

6 years ago

0.17.12

6 years ago

0.17.11

6 years ago

0.17.10

6 years ago

0.17.9

6 years ago

0.17.8

6 years ago

0.17.7

6 years ago

0.17.6

6 years ago

0.17.5

6 years ago

0.17.4

6 years ago

0.17.3

6 years ago

0.17.2

6 years ago

0.17.1

6 years ago

0.14.3

6 years ago

0.14.2

6 years ago

0.14.1

6 years ago

0.13.22

6 years ago

0.13.21

6 years ago

0.13.20

6 years ago

0.13.19

6 years ago

0.13.18

6 years ago

0.13.17

6 years ago

0.13.16

6 years ago

0.13.15

6 years ago

0.13.14

6 years ago

0.13.13

6 years ago

0.13.12

6 years ago

0.13.11

6 years ago

0.13.10

6 years ago

0.13.9

6 years ago

0.13.8

6 years ago

0.13.7

6 years ago

0.13.6

6 years ago

0.13.5

6 years ago

0.13.4

6 years ago

0.13.3

6 years ago

0.13.2

6 years ago

0.13.1

7 years ago

0.12.3

7 years ago

0.12.2

7 years ago

0.12.1

7 years ago

0.11.10

7 years ago

0.11.9

7 years ago

0.11.8

7 years ago

0.11.7

7 years ago

0.11.6

7 years ago

0.11.5

7 years ago

0.11.4

7 years ago

0.11.3

7 years ago

0.11.2

7 years ago

0.11.1

7 years ago

0.10.3

7 years ago

0.10.2

7 years ago

0.10.1

7 years ago

0.9.12

7 years ago

0.9.11

7 years ago

0.9.10

7 years ago

0.9.9

7 years ago

0.9.8

7 years ago

0.9.7

7 years ago

0.9.6

7 years ago

0.9.5

7 years ago

0.9.4

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.8.12

7 years ago