Generic & reusable layout components for your Ember app.
This addon provides easy to use and flexible layout components. By using these components, your layout will automatically be flexible and consistent. Instead of defining exactly how something should look like at a given viewport, let the intrinsic size of content and CSS calcualte the best possible layout, based on the basic rules these layout components define.
Based on every-layout.dev.
- Ember.js v3.24 or above
- Ember CLI v3.24 or above
- Node.js v14 or above
This addon makes use of some modern CSS features, which means that browser support might be limited:
- It makes heavy use of runtime CSS Variables, which means it will not work in IE11
- The Cluster uses flex gap, which is supported in all modern browsers (Safari 14.1+). There is an included fallback behavior for browsers that do not support it.
ember install ember-layout-components
For more details, see the documentation.
<Layout::Wrapper>
<Layout::Center>
<Layout::Stack>
<Layout::Cluster>
<Layout::Grid>
See the Contributing guide for details.
This project is licensed under the MIT License.