Css Grid Layout
Build flexible layouts of any kind with css grid
This addon allows the user to create responsive or static layouts by using the css grid API
It brings four new Layouts to Vaadin:
AreaLayout| Area based Layouts similar to a "Border Layout" but with areas of your choice
FlexibleGridLayout| Responsive grids without diving too deep into css grid
GridLayout| Straight forward implementation of css grid (not yet super complete). I recommend reading some
css-griddocumentation before starting with this. Probably also has some API issues etc.
FluentGridLayout| The Fluent version of GridLayout
On the first sight most of the layouts seem pretty different, but they all inherit from the GridLayout. This is due to css grid being a complex but also a powerful tool which may be used for a lot of use cases. The first two layouts are meant for two specific cases, to make the entry easier for beginners.
Samples can be found in the demo
You need help, miss a feature or found a bug? Create an issue on Github!
Note: This addon is and will not be compatible with Internet Explorer
Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.
- updated to current version of org.vaddon.mediaquery
- removed redundant tests and classes
- using the ClientMediaQuery instead of the CustomMediaQuery
- Apache License 2.0
- Vaadin 10+
- Vaadin 14+ in 2.0.0.beta1
- Google Chrome
- iOS Browser
- Android Browser
- Windows Phone
- Microsoft Edge