Hacker News new | ask | show | jobs
by anonyfox 3733 days ago
Cool, this looks like a great set of visual components to design SPAs with.... kinda bootstrap with many plugins but also lightweight.

One question: does it have an easy way to implement a responsive off-canvas menu or do I need to roll it by myself?

1 comments

Of course, the necessary components exist: The drawer component can contain the navigation, here you can even see it statically in all three states:

http://vcl.github.io/#vcl-drawer

In the drawer content, I would use this:

http://vcl.github.io/#vcl-navigation

Just add some JS to control the state and toggle the `vclOpen` class.