Original semantic-ui menu does auto turn into a hamburger icon
seems like via code duplication. Is it possible to recreate it in semantic-ui-react with out code duplication (as one component) and how to do such thing?
Neither Semantic UI, nor Semantic UI React have a responsive NavBar. However, I want to implement it as add-on for Semantic UI React in near future.
At the current moment, you can implement it using Menu
and Sidebar
components. It will allow you to avoid code and markup duplication.
I've made a CodeSandbox that shows how to do this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With