cyntler / hamburger-react

Animated hamburger menu icons for React.js weighs only 1.5 KB.
https://hamburger-react.netlify.app
MIT License
963 stars 36 forks source link

Feature Request: A prop to set width of each lines or different menu style as another component #62

Closed milindgoel15 closed 1 year ago

milindgoel15 commented 1 year ago

Basically, i wanted to have my menu in this style: image

But the ones i found can either work in only one theme mode or others dont have typescript support(Although having typescript is not much needed but its better that way) and some dont look too good.

Could you add something for this? In the form of line width separately or as a different ham menu style component.\ And also a possibility to reverse the menu.

luukdv commented 1 year ago

Hey! Thanks for the feature request.

This does look like a very specific use case though. Adding support for this might only be used by 0.1% of users, while it does increase the bundle size for the other 99.9% of users.

I'll think about it for a bit, but at the moment it seems like it makes more sense to implement such a custom hamburger yourself.

a possibility to reverse the menu

This is already possible, by setting the direction property ("left" | "right").

milindgoel15 commented 1 year ago

Alright, thanks for your reply.