VJAI / lego

Angular library of reusable UI components

Home Page:https://vjai.github.io/lego/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LEGO

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.

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

About

Angular library of reusable UI components

https://vjai.github.io/lego/

License:MIT License


Languages

Language:JavaScript 70.0%Language:CSS 16.7%Language:TypeScript 6.9%Language:HTML 6.4%