← Winnitude! Search  ·  Reader Mode (645 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 113 LINKS

GitHub - angular/flex-layout: Provides HTML UI layout for Angular applications; using Flexbox and a Responsive API

This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Repository navigation

flex-layout
Public archive

About

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

Topics

adaptive angular engine flexbox grid layout mediaquery responsive

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

5.8k stars

Watchers

5 watching

Forks

739 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


734 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.circleci .circleci    
.github .github    
docs docs    
guides guides    
projects projects    
scripts scripts    
test test    
tools tools    
.clang-format .clang-format    
.editorconfig .editorconfig    
.gitattributes .gitattributes    
.gitignore .gitignore    
.prettierrc.js .prettierrc.js    
CHANGELOG.md CHANGELOG.md    
CODE_REVIEWS.md CODE_REVIEWS.md    
CODING_STANDARDS.md CODING_STANDARDS.md    
CONTRIBUTING.md CONTRIBUTING.md    
LICENSE LICENSE    
README.md README.md    
angular.json angular.json    
build-config.js build-config.js    
firebase.json firebase.json    
package.json package.json    
stylelint-config.json stylelint-config.json    
tsconfig.json tsconfig.json    
tslint.json tslint.json    
yarn.lock yarn.lock    

Repository files navigation

Angular Flex-Layout

NOTE: The Angular team no longer publishes new releases of this project. Please review this blog post for alternatives, and this article for the explanation and next steps.

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



License

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

License: MIT

About

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

Topics

adaptive angular engine flexbox grid layout mediaquery responsive

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

5.8k stars

Watchers

5 watching

Forks

739 forks Report repository

Releases

Packages

Contributors

Languages