angular/flex-layout


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.

app.module.ts

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

@NgModule({
    ...
    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">
</div>

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


Quick Links

Demos

StackBlitz Templates

Developers


Browser Support

  caniuseflexbox



License

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.79 MB
Stars 4,250
Forks 552
Watchers 180
Open issues 57
Dependencies 4,537
Contributors 48
Tags 251
Created
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 Peter Blazejewicz

Packages Referencing this Repo

@angular/flex-layout
Angular Flex-Layout
Latest release 8.0.0-beta.27 - Updated - 4.25K stars
flex-layout-srcs
Angular Flex Layout
Latest release 6.0.0-beta.13 - Updated - 4.25K stars
flex-layout-rxjs-fix
Angular Flex Layout
Latest release 5.0.0-beta.14 - Updated - 4.25K stars

Recent Tags See all

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
v5.0.0-beta.13 February 27, 2018

Interesting Forks See all

unistate/flex-layout
Provides HTML UI layout for Angular applications; using Flexbox and a Responsive API
TypeScript - Updated - 1 stars
CNXTEoE/flex-layout
Angular layout engine: responsive engine injects inline Flexbox CSS
TypeScript - Updated - 1 stars
niilante/flex-layout
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