Skip to content

Code Snippets of fully responsive ReactJS components that can be implemented in a web app.

License

Notifications You must be signed in to change notification settings

Dezenix/frontend-reactjs

Repository files navigation

Frontend Reactjs

About the Repository

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.

💯open source programs this repo has been part of

⚒️ Contribution Guidelines

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.

1. Clone and Setup:

  • Clone and Setup the repository by following the steps mentioned here.

2. Setup dev environment

  • This repository is divided into 2 parts
    • Library src/*
    • Example example/*
2.1 Setting up library environment

This is where all your components will be

  • Install all dependencies
yarn install
  • Watch for file changes and build
yarn start
2.2 Setting up example environment

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

3. Add your Components:

  • 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.

4. Export your Component:

5. View your Component:

  • A simple example should be added in example/src demonstrating your component.

👨‍💻 Our valuable Contributors

This project exists thanks to all the people who contribute.

Contributors

❤️ Code of Conduct

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.

📜 License

License: MIT © Dezenix

About

Code Snippets of fully responsive ReactJS components that can be implemented in a web app.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published