Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/n2ref/coreui-layout


https://github.com/n2ref/coreui-layout

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# CoreUI Layout

**[DEMO](https://n2ref.github.io/coreui-layout)**

### Install with NPM

`npm install coreui-layout`

### Example usage

```html






let justifyItems = [
{ "width": 200, "content": "Left" },
{ "content": "Center" },
{ "width": 150, "content": "Right" },
];

CoreUI.layout.create({ justify: "start", items: justifyItems }).render('layout-justify-start');
CoreUI.layout.create({ justify: "end", items: justifyItems }).render('layout-justify-end');
CoreUI.layout.create({ justify: "center", items: justifyItems }).render('layout-justify-center');
CoreUI.layout.create({ justify: "between", items: justifyItems }).render('layout-justify-between');
CoreUI.layout.create({ justify: "around", items: justifyItems }).render('layout-justify-around');
CoreUI.layout.create({ justify: "evenly", items: justifyItems }).render('layout-justify-evenly');

```

![Preview](https://raw.githubusercontent.com/n2ref/coreui-layout/master/preview.png)