We are on a mission to make things easy and convenient for all the users who just want to save their time. This repository consists of all the development components that are being used while coding an end to end website along with fully coded components in ReactJS. The main goal is to save your time by providing the complete code snippet with a fully responsive design of all the components that you may use in your development journey. At the later stage, the project is planned to be get converted into a library so that the components created can directly be used by importing and calling through classes. We always encourage new ideas. Feel free to get in touch with us and join our Discord Server for updates.
Are we missing any of your favourite features, which you think you can add to it? We invite you to contribute to this project and improve it further.
- Clone and Setup the repository by following the steps mentioned here.
- This repository is divided into 2 parts
- Library
src/*
- Example
example/*
- Library
This is where all your components will be
- Install all dependencies
yarn install
- Watch for file changes and build
yarn start
This is where you can see your component implementation
- Change directory to example folder
cd example
- Install all dependencies
yarn install
- Start a live server on localhost
yarn start
A server should start on localhost where you can view all the examples
- All the usermade components should be made under
src/lib-components/{component_name}
here{component_name}
is the name of your component in snake_case. - CSS files should follow this syntax
{name}.module.css
here{name}
can be anything you want but in snake_case. This is due to the fact that we are transpiling the css classnames to avoid any conflicts between 2 or more modules. Due to this, simple importing your CSS file will no longer work. You will have to named import your css files and then treat them as a dictionary to use your CSS classnames. - Components should make use of props to display images or strings.
- We also request you to not make use of any network components. For fonts, it would be better if you make use of default browser provided fonts. This is because we can't always be sure which license is used in 3rd party stuff. In future, we do plan to provide more fonts that will be licensed properly.
- The User-made modules should be exported in
src/index.js
.
- A simple example should be added in
example/src
demonstrating your component.
This project exists thanks to all the people who contribute.
Please note that Dezenix has a Contributor Code of Conduct. By participating in this project online or at events you agree to abide by its terms.