ngx-canaima
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc2 • Public • Published

banner

ngx-canaima npm version npm downloads

Angular 5+ Awesome UI Components

Angular Style Guide Build Status

NPM NPM Sauce Test Status

Table of contents

  1. Getting Started
  2. Installation instructions
  3. Usage & Demo
  4. API
  5. Troubleshooting
  6. Contributing
  7. License

Getting Started

ngx-canaima contains all core (and not only) Bootstrap components powered by Angular and ngx-bootstrap. So you don't need to include original JS components, but we are using markup and css provided by Bootstrap.

Installation instructions

To install this library, run:

$ npm install ngx-canaima --save

You will need bootstrap styles (Bootstrap 3)

<!-- index.html -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

You will have to import the styles.scss from ngx-canaima/assets/stylesheet/styles.scss into your application main style.scss file

// styles.scss 
@import 'mixins';
@import 'variables';
@import '~ngx-canaima/assets/stylesheet/styles.scss';
@import 'common';

If you have a variables file that overrides Bootstrap variables, put the ngx-canaima styles before it.

Usage and demo

Once you have published your library to npm, you can import your library in any Angular application by running:

$ npm install ngx-canaima --save

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
 
// Import your library
import { NgxCanaimaModule } from 'ngx-canaima';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NgxCanaimaModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, you can use its components, directives and pipes in your Angular application:

<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<as-card
[title]="'I love bacon"
[subtitle]="Yes I do!"
[shadow]="1"
>
</as-card>

Demo comming soon!.

API

API Comming soon!.

Troubleshooting

So you are in trouble, where to get help:

  • you can search and ask for help at StackOverflow

  • if none of this helped please search and only then open new issue

Contribution

Are very welcome! And remember, contribution is not only PRs and code, but any help with docs or helping other developers to solve issues are very appreciated! Thanks in advance!

TodoList

  • Cards Components
  • Lists Components
  • Dynamic Forms Components
  • Buttons Directives
  • Toolbar Component
  • Header Component
  • Segments Component
  • Chip Component
  • Fab Button Component
  • Media Uploader
  • Avatar Uploader
  • Datatable Component
  • Breadcrumbs Component

Credits

License

MIT © Alvaro Saburido

Package Sidebar

Install

npm i ngx-canaima

Weekly Downloads

27

Version

1.0.0-rc2

License

MIT

Last publish

Collaborators

  • alvarosaburido