markmead / hyperjs

HyperJS is a component library for Alpine JS allowing developers to quickly copy and paste functionality into their projects 🛵
https://js.hyperui.dev
MIT License
378 stars 15 forks source link

Can I work on adding Button component to HyperJS? #48

Closed Pranav4399 closed 7 months ago

Pranav4399 commented 7 months ago

Hello. I found this library while building a small website using AlpineJS and found it great. I found out many components like buttons, modals etc. are yet to be built and I'd be happy to contribute as well. Please let me know if I can go ahead and start with creating button component first.

Also, from your profile, I found that each component has a separate repository? Should the same structure be followed? After creating the components, how do I raise a PR to the existing code?

markmead commented 7 months ago

Sorry, I'm not following what you mean. Why would there be a button component? Also, there is a modal component.

I found that each component has a separate repository?

Once again, I have no idea what you mean. All the components used for HyperJS are in this repository.

You could be getting confused with HyperUI which is a Tailwind CSS component library, whereas HyperJS is a component/example library of Alpine JS functionality, there's no UI.