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

https://github.com/vjai/lego

Angular library of reusable UI components
https://github.com/vjai/lego

angular angular-ui-components angular8 typescript ui-components

Last synced: 12 days ago
JSON representation

Angular library of reusable UI components

Awesome Lists containing this project

README

        

![LEGO](https://github.com/VJAI/lego/blob/master/projects/demo/src/assets/images/lego-375.png)

[Lego](https://vjai.github.io/lego) is an UI library built on Angular. It provides set of UI components that helps to build single page apps quicker. It also provides you simple abstractions that helps to build new components easier.

# [PLEASE CHECK THE DEMOS](https://vjai.github.io/lego)

## Installing Lego

You can install it from npm.

```
npm install lego-ui-kit --save
```

Lego needs Angular CDK library to be installed. You can install it running the below command.

```
npm install @angular/cdk --save
```

## Importing in App

Importing the module in app.module.ts.

```
import { LegoModule } from 'lego-ui-kit';

@NgModule({
imports: [
LegoModule,
...
]
})
export class AppModule {
}
```

Importing the SCSS file in styles.scss.

```
@import '~lego-ui-kit/scss/lego';
```

## Copy the icon sprite to assets folder

Copy the icon sprite file from lego-ui-kit/assets/icons/Svg/sprite.css.svg to your project assets/images folder.

## Supported Browsers

- Chrome
- Safari
- Opera
- Firefox
- Edge