Provides HTML UI layout for Angular applications; using Flexbox and a Responsive API

License: MIT

Language: TypeScript

Keywords: adaptive, angular, engine, flexbox, grid, layout, mediaquery, responsive

Angular Flex-Layout

npm version Build status Gitter

Angular Flex Layout provides a sophisticated layout API using Flexbox CSS + mediaQuery. This module provides Angular developers with component layout features using a custom Layout API, mediaQuery observables, and injected DOM flexbox-2016 CSS stylings.

The Flex Layout engine intelligently automates the process of applying appropriate Flexbox CSS to browser view hierarchies. This automation also addresses many of the complexities and workarounds encountered with the traditional, manual, CSS-only application of box CSS.

The real power of Flex Layout, however, is its responsive engine. The Responsive API enables developers to easily specify different layouts, sizing, visibilities for different viewport sizes and display devices.

Getting Started

Start by installing the Angular Layout library from npm

npm i -s @angular/flex-layout @angular/cdk

Next, you'll need to import the Layout module in your app's module.


import { FlexLayoutModule } from '@angular/flex-layout';

    imports: [ FlexLayoutModule ],

After that is configured, you can use the Angular Layout attributes in your HTML tags for flex layout:

<div fxLayout="row" fxLayoutAlign="space-between">

Check out all of the available options for using Angular Layout in your application.

Quick Links


StackBlitz Templates


Browser Support



The sources for this package are in the Flex Layout repository.
Please file issues and pull requests against that repo.

License: MIT

Project Statistics

Sourcerank 18
Repository Size 5.83 MB
Stars 4,583
Forks 595
Watchers 183
Open issues 73
Dependencies 4,537
Contributors 48
Tags 252
Last updated
Last pushed

Top Contributors See all

Thomas Burleson CaerusKaru Paul Gschwendtner tinayuangao Joshua Wiens Kara Bowen Ni Andrew Seguin Cyrille Tuzi Jeremy Elbourn Andrew Scott null-reference mmalerba karlhaas Michael Prentice Terry Tomáš Livora Austin Stefan Andres Charsley Piotr Błażejewicz (Peter Blazejewicz)

Packages Referencing this Repo

Angular Flex-Layout
Latest release 8.0.0-beta.41 - Updated - 4.58K stars
Angular Flex Layout
Latest release 5.0.0-beta.14 - Updated - 4.58K stars
Angular Flex Layout
Latest release 6.0.0-beta.13 - Updated - 4.58K stars
Angular Flex-Layout
Latest release 8.0.0-beta.27 - Updated - 4.58K stars

Recent Tags See all

8.0.0-beta.27 August 30, 2019
8.0.0-beta.26 May 24, 2019
8.0.0-beta.25 May 20, 2019
7.0.0-beta.24 March 19, 2019
7.0.0-beta.23 January 10, 2019
7.0.0-beta.22 December 19, 2018
7.0.0-beta.21 December 15, 2018
7.0.0-beta.20 December 14, 2018
7.0.0-beta.19 October 08, 2018
6.0.0-beta.18 August 31, 2018
6.0.0-beta.17 July 27, 2018
6.0.0-beta.16 June 07, 2018
5.0.0-beta.15 June 07, 2018
6.0.0-beta.15 April 14, 2018
v5.0.0-beta.14 March 29, 2018

Interesting Forks See all

Provides HTML UI layout for Angular applications; using Flexbox and a Responsive API
TypeScript - Updated - 1 stars
Angular layout engine: responsive engine injects inline Flexbox CSS
TypeScript - Updated - 1 stars
Angular layout engine: responsive engine injects inline Flexbox CSS
TypeScript - Published - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-01-03 21:47:54 UTC

Login to resync this repository