hasin-zaman / UIlex

A repository of unique React JavaScript components
https://uilex.vercel.app
MIT License
3 stars 10 forks source link

Add Any Unique Reusable Component #34

Open hasin-zaman opened 1 week ago

hasin-zaman commented 1 week ago

UIlex is a community-driven platform where developers can share their reusable components for the benefit of the community and their future projects. This initiative encourages innovation and creativity while maintaining high coding standards and ensuring reusability.

Task: Add any unique reusable Component and its page. Example has already been implemented. Just need to follow along and add your own creative elements. Refer to Contributing.md for detailed instructions.

Example Screenshot (1)

jovdim commented 1 week ago

Hi!

I would like to work with you and create any reusable components

Ravi0529 commented 1 week ago

Hello! I want to add a Sign-Up component into this project. Is it suitable for this?

hasin-zaman commented 1 week ago

Sure @jovdim! You have been assigned you can add any component and make sure to keep it in its appropriate category follow along with detailed instructions in Contributing.md.

hasin-zaman commented 1 week ago

Yes @Ravi0529 its perfectly fine! You can add a forms category and add your Sign-up component in it. Follow along Contributing.md for detailed instructions. Thanks.

Govindggupta commented 1 week ago

Hello! @hasin-zaman There is one more nav component i want to add and some other component as well , Can i ?

hasin-zaman commented 1 week ago

Yes @Govindggupta you can. Keep each component in a separate PR. Also, make the PR for dev branch. Thanks!

Govindggupta commented 1 week ago

Ohk i'll make new PR for every component . Thanks @hasin-zaman

Ravi0529 commented 1 week ago

Sure @hasin-zaman , I will make a new PR and add a reuseable component of Sign-Up page. There will be username, email, password and signup button as the options. Do I need to create any props for the user?

hasin-zaman commented 1 week ago

Yes @Ravi0529 props are essential for any reusable component. Think about all the factors with which a user would want to modify your component according to their needs, for example, they'll want to pass their own onSubmit function, they might want to choose which fields to include and which not, or the size of component itself etcetera. Without props, you'll be basically hard-coding values which doesn't make your component a reusable one.

Ravi0529 commented 1 week ago

Got it! I will work on it and get back to you.