0.7.0 • Published 17 days ago

@chromia/ui-kit v0.7.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
17 days ago

The Chromia UI KIT is a set of React components specifically designed for the Chromia ecosystem. It empowers projects like Wallet and Block Explorer to have a consistent look and feel.

Features

  • TypeScript support
  • 23+ components, 2+ hooks
  • CSS-in-JS styling with stitches
  • Server-side rendering support
  • Tree-shaking friendly
  • CommonJS and ES Module support
  • Works with create-react-app, next.js, your own setup, etc.

Installation

pnpm add @chromia/ui-kit

Usage

CSS Reset

This library comes with a CSS reset that should be used in conjunction with the UI KIT. It can be used as follows:

import { resetStyle } from '@chromia/ui-kit';

const App = () => (
  <>
    <style dangerouslySetInnerHTML={{ __html: resetStyle }} />
    <YourApp />
  </>
);

Server-side CSS

If you are using server-side rendering, you will need to import generated styles as well. This can be done as follows:

import { getCssText } from '@chromia/ui-kit';

const App = () => (
  <>
    <style dangerouslySetInnerHTML={{ __html: getCssText() }} />
    <YourApp />
  </>
);

It is recommended to put these styles in the <head> of your app.

Basic example

import { Button } from '@chromia/ui-kit';

const App = () => <Button text={"Click me"} onClick={() => alert("Clicked!")} />;

Documentation

We use Storybook to document the components. Visit the Chromia UI-Kit Storybook to see the components in action and learn how to use them.

License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details.

Development

See DEV.md for details on how to develop this library.

0.8.0-beta.36

17 days ago

0.8.0-beta.35

17 days ago

0.8.0-beta.34

18 days ago

0.8.0-beta.32

2 months ago

0.8.0-beta.33

2 months ago

0.8.0-beta.30

3 months ago

0.8.0-beta.31

3 months ago

0.8.0-beta.18

5 months ago

0.8.0-beta.19

5 months ago

0.8.0-pr.0

5 months ago

0.8.0-beta.14

5 months ago

0.8.0-beta.15

5 months ago

0.8.0-beta.16

5 months ago

0.8.0-beta.17

5 months ago

0.8.0-beta.10

6 months ago

0.8.0-beta.11

5 months ago

0.8.0-beta.12

5 months ago

0.8.0-beta.13

5 months ago

0.8.0-beta.29

3 months ago

0.8.0-beta.25

4 months ago

0.8.0-beta.26

3 months ago

0.8.0-beta.27

3 months ago

0.8.0-beta.28

3 months ago

0.8.0-beta.21

4 months ago

0.8.0-beta.22

4 months ago

0.8.0-beta.23

4 months ago

0.8.0-beta.24

4 months ago

0.8.0-beta.20

5 months ago

0.7.1-beta.7

6 months ago

0.8.0-beta.7

6 months ago

0.8.0-beta.8

6 months ago

0.8.0-beta.5

6 months ago

0.8.0-beta.6

6 months ago

0.8.0-beta.9

6 months ago

0.8.0-beta.3

6 months ago

0.8.0-beta.4

6 months ago

0.8.0-beta.1

6 months ago

0.8.0-beta.2

6 months ago

0.7.1-beta.6

6 months ago

0.7.1-beta.4

6 months ago

0.7.1-beta.3

6 months ago

0.7.1-beta.2

6 months ago

0.7.1-beta.5

6 months ago

0.7.0

6 months ago

0.7.1-beta.1

6 months ago

0.7.0-beta.24

6 months ago

0.7.0-beta.23

6 months ago

0.7.0-beta.22

6 months ago

0.7.0-beta.21

6 months ago

0.7.0-beta.20

6 months ago

0.7.0-beta.19

6 months ago

0.7.0-beta.18

7 months ago

0.7.0-beta.17

7 months ago

0.7.0-beta.16

7 months ago

0.7.0-beta.15

7 months ago

0.7.0-beta.12

7 months ago

0.7.0-beta.14

7 months ago

0.7.0-beta.13

7 months ago

0.7.0-beta.11

7 months ago

0.7.0-beta.10

7 months ago

0.7.0-beta.8

7 months ago

0.7.0-beta.9

7 months ago

0.7.0-beta.7

7 months ago

0.7.0-beta.4

7 months ago

0.7.0-beta.5

7 months ago

0.7.0-beta.6

7 months ago

0.7.0-beta.1

7 months ago

0.7.0-beta.2

7 months ago

0.7.0-beta.3

7 months ago

0.6.0-beta.4

8 months ago

0.6.1-beta.1

8 months ago

0.6.2-beta.1

8 months ago

0.6.2

8 months ago

0.6.1

8 months ago

0.6.0

8 months ago

0.6.0-beta.3

8 months ago

0.6.0-beta.2

8 months ago

0.6.0-beta.1

8 months ago

0.5.1-beta.1

8 months ago

0.5.0

8 months ago

0.5.0-beta.45

8 months ago

0.5.0-beta.48

8 months ago

0.5.0-beta.49

8 months ago

0.5.0-beta.46

8 months ago

0.5.0-beta.47

8 months ago

0.5.0-beta.44

8 months ago

0.5.0-beta.43

8 months ago

0.5.0-pr.1

8 months ago

0.5.0-beta.41

8 months ago

0.5.0-beta.42

8 months ago

0.5.0-beta.40

8 months ago

0.5.0-beta.38

8 months ago

0.5.0-beta.39

8 months ago

0.5.0-beta.37

9 months ago

0.5.0-beta.36

9 months ago

0.5.0-beta.35

9 months ago

0.5.0-beta.33

9 months ago

0.5.0-beta.34

9 months ago

0.5.0-beta.31

9 months ago

0.5.0-beta.32

9 months ago

0.5.0-beta.30

9 months ago

0.5.0-beta.28

9 months ago

0.5.0-beta.29

9 months ago

0.5.0-beta.27

9 months ago

0.5.0-beta.26

9 months ago

0.5.0-beta.24

10 months ago

0.5.0-beta.25

10 months ago

0.5.0-beta.23

10 months ago

0.5.0-beta.22

10 months ago

0.5.0-beta.19

10 months ago

0.5.0-beta.17

10 months ago

0.5.0-beta.18

10 months ago

0.5.0-beta.20

10 months ago

0.5.0-beta.21

10 months ago

0.5.0-beta.16

10 months ago

0.5.0-beta.15

10 months ago

0.5.0-beta.14

10 months ago

0.5.0-beta.12

10 months ago

0.5.0-beta.13

10 months ago

0.5.0-beta.11

11 months ago

0.5.0-beta.10

11 months ago

0.5.0-beta.9

11 months ago

0.5.0-beta.8

11 months ago

0.5.0-beta.7

11 months ago

0.5.0-beta.6

11 months ago

0.5.0-beta.5

11 months ago

0.5.0-beta.4

11 months ago

0.5.0-beta.3

11 months ago

0.5.0-beta.1

11 months ago

0.5.0-beta.2

11 months ago

0.4.3-beta.1

11 months ago

0.4.3-beta.2

11 months ago

0.4.2-beta.1

11 months ago

0.4.2

11 months ago

0.4.1

12 months ago

0.4.1-beta.1

12 months ago

0.4.0

12 months ago

0.4.0-beta.20

12 months ago

0.4.0-beta.19

12 months ago

0.4.0-beta.18

12 months ago

0.4.0-beta.17

12 months ago

0.4.0-beta.16

12 months ago

0.4.0-beta.15

12 months ago

0.4.0-beta.14

1 year ago

0.4.0-beta.13

1 year ago

0.4.0-beta.12

1 year ago

0.4.0-beta.11

1 year ago

0.4.0-beta.10

1 year ago

0.4.0-beta.9

1 year ago

0.4.0-beta.8

1 year ago

0.4.0-beta.7

1 year ago

0.4.0-beta.6

1 year ago

0.4.0-beta.5

1 year ago

0.4.0-beta.4

1 year ago

0.4.0-beta.3

1 year ago

0.4.0-beta.2

1 year ago

0.4.0-beta.1

1 year ago

0.3.0

1 year ago

0.3.0-beta.32

1 year ago

0.3.0-beta.31

1 year ago

0.3.0-beta.30

1 year ago

0.3.0-beta.29

1 year ago

0.3.0-beta.28

1 year ago

0.3.0-beta.27

1 year ago

0.3.0-beta.26

1 year ago

0.3.0-beta.25

1 year ago

0.3.0-beta.24

1 year ago

0.3.0-beta.23

1 year ago

0.3.0-beta.22

1 year ago

0.3.0-beta.21

1 year ago

0.3.0-beta.20

1 year ago

0.3.0-beta.19

1 year ago

0.3.0-beta.18

1 year ago

0.3.0-beta.17

1 year ago

0.3.0-beta.16

1 year ago

0.3.0-beta.15

1 year ago

0.3.0-beta.14

1 year ago

0.3.0-beta.13

1 year ago

0.3.0-beta.12

1 year ago

0.3.0-beta.11

1 year ago

0.3.0-beta.10

1 year ago

0.3.0-beta.9

1 year ago

0.3.0-beta.8

1 year ago

0.3.0-beta.7

1 year ago

0.3.0-beta.6

1 year ago

0.3.0-beta.5

1 year ago

0.3.0-beta.4

1 year ago

0.3.0-beta.3

1 year ago

0.3.0-beta.2

1 year ago

0.3.0-beta.1

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago