0.2.137 • Published 1 month ago

@unbxd-ui/unbxd-react-components v0.2.137

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

unbxd-react-components

Using the components library

Install the package from npm

use npm version : '9.7.2' 

use node version: 'v14.20.1'

npm install unbxd-react-components

Import the required components along with the CSS.

import Button from "unbxd-react-components/components/Button";

Or less ideally (as this will include all components that you might not use as well)

import { Button } from "unbxd-react-components";

And include the core CSS like below,

import "unbxd-react-components/components/core.css";

The core CSS file will contain the core styles without which the component will not behave as expected. Hence do not forget to include this.

Using theme CSS

Theme CSS file will contain the styles which suggests a theme for all the components but is not a must have to use the library.

You can use the theme CSS in 2 ways:

1. Use individual component CSS

You can import the individual files for each of the components like below:

import "unbxd-react-components/components/Table/tableTheme.css";

2. Include the bundled CSS file which has all component's CSS

You can import the bundled CSS file which contains all the component's CSS like below:

import "unbxd-react-components/components/theme.css";

Viewing the components

You can view the available components and their props using the storybook at this link:

https://unbxd.github.io/unbxd-react-components/

FAQs

1) I am getting "multiple instances of React" error. What to do?

You can fix this error by adding the following config in your `webpack.config.js` file

```
resolve: {
    alias: {
        react: path.resolve('./node_modules/react'),
    },
}
```

For more details refer [this link](https://github.com/facebook/react/issues/13991)

Contributing

To contribute to the project, read the contribution guidelines

0.2.137

1 month ago

0.2.136

1 month ago

0.2.135

1 month ago

0.2.134

1 month ago

0.2.133

1 month ago

0.2.132

2 months ago

0.2.131

2 months ago

0.2.130

2 months ago

0.2.129

2 months ago

0.2.128

2 months ago

0.2.127

2 months ago

0.2.126

3 months ago

0.2.125

4 months ago

0.2.124

5 months ago

0.2.123

5 months ago

0.2.122

5 months ago

0.2.109-beta.16

9 months ago

0.2.108

9 months ago

0.2.109-beta.17

9 months ago

0.2.109-beta.14

9 months ago

0.2.109-beta.15

9 months ago

0.2.105

10 months ago

0.2.109-beta.12

9 months ago

0.2.104

10 months ago

0.2.109-beta.13

9 months ago

0.2.103

10 months ago

0.2.109-beta.10

9 months ago

0.2.102

10 months ago

0.2.109-beta.11

9 months ago

0.2.101

10 months ago

0.2.221

6 months ago

0.2.220

6 months ago

0.2.109-beta.18

9 months ago

0.2.109-beta.19

9 months ago

0.2.109-beta.23

9 months ago

0.2.109-beta.21

9 months ago

0.2.109-beta.22

9 months ago

0.2.109-beta.6

9 months ago

0.2.109-beta.5

9 months ago

0.2.109-beta.8

9 months ago

0.2.101-beta.5

10 months ago

0.2.109-beta.7

9 months ago

0.2.101-beta.6

10 months ago

0.2.109-beta.2

9 months ago

0.2.108-beta.2

9 months ago

0.2.107-beta.2

9 months ago

0.2.101-beta.3

10 months ago

0.2.109-beta.1

9 months ago

0.2.107-beta.1

9 months ago

0.2.101-beta.4

10 months ago

0.2.109-beta.4

9 months ago

0.2.101-beta.1

10 months ago

0.2.109-beta.3

9 months ago

0.2.108-beta.1

9 months ago

0.2.101-beta.2

10 months ago

0.2.109-beta.20

9 months ago

0.2.103-beta.1

10 months ago

0.2.106-beta.1

9 months ago

0.2.106-beta.2

9 months ago

0.2.109-beta.9

9 months ago

0.2.121

5 months ago

0.2.120

6 months ago

0.2.10-6.beta.1

9 months ago

0.2.119

6 months ago

0.2.118

6 months ago

0.2.117

6 months ago

0.2.116

6 months ago

0.2.115

7 months ago

0.2.114

7 months ago

0.2.113

7 months ago

0.2.112

8 months ago

0.2.111

9 months ago

0.2.110

9 months ago

0.2.111-beta.1

9 months ago

0.2.109

9 months ago

0.2.100

12 months ago

0.2.99

1 year ago

0.2.98

1 year ago

0.2.97

1 year ago

0.2.96

2 years ago

0.2.95

2 years ago

0.2.94

2 years ago

0.2.93

2 years ago

0.2.92

2 years ago

0.2.91

2 years ago